title: @Value is not working for class that implements Condition as expected
body: <p>I have class that implements Spring <code>Condition</code> <a href="https://github.com/rajcspsg/test-conditional/blob/master/src/main/java/com/as/demo/config/AerospikeConfig.java#L26-L29" rel="nofollow noreferrer">here</a>.
  when I run the <a href="https://github.com/rajcspsg/test-conditional/blob/master/src/main/java/com/as/demo/app/AerospikeApp.java" rel="nofollow noreferrer">main</a> app it prints the below output in console.</p>
  
  <pre><code>host = null
  port = 0
  ${userstore.host} localhost
  ${userstore.port} 3000
  returns true
  </code></pre>
  
  <p>The host and port which are annotated with  <code>@Value("${userstore.host}")</code> and  <code>@Value("${userstore.port}")</code> are null and 0 respectively but when I print <code>System.out.println("${userstore.host} " + System.getProperty("userstore.host"))</code> and <code>System.out.println("${userstore.port} " + System.getProperty("userstore.port"))</code> it prints the configured value correctly. </p>
  
  <p>I've tried <code>@Value("#{systemProperties['userstore.host']}")</code> as well but no success.</p>
  
  <p>what is the mistake that I'm doing?</p>