title: How to enable @ConditionalOnProperty in spring-boot on runtime changeable property
body: <p>I have two class which depends on config variable:</p>
  
  <pre><code>@Component
  @ConditionalOnProperty("config.db")
  public class DatabaseTokenStore implements TokenStore {
  }
  
  @Component
  @ConditionalOnMissingBean(DatabaseTokenStore.class)
  public class SimpleTokenStore implements TokenStore {
  }
  </code></pre>
  
  <p>so when db is true then <code>DatabaseTokenStore</code> class is autowired when false then <code>SimpleTokenStore</code> is autowired. Problem is that I can change this property in runtime with <code>CRaSH</code>. Then this mechanic will not work. Is there some way how to change implement of interface in runtime ?</p>