title: Reloading a Commons Configuration 2 Spring bean
body: <p>I've been using the reload feature of Commons Configuration v1 without any extra coding when exposing a Configuration object as a Spring @Bean, because the reload check was performed every time the Configuration was accessed.</p>
  
  <p>I'm now trying to migrate to Commons Configuration v2 and I read that reload is only effective on new Configuration objects created by the builder.</p>
  
  <p>In other words, while in v1 I could do something like</p>
  
  <pre><code>@Bean
  public Configuration config() {
      ...
      return builder.getConfiguration();
  }
  </code></pre>
  
  <p>then inject the configuration with</p>
  
  <pre><code>@Autowired Configuration config;
  </code></pre>
  
  <p>and expect it to reload (when needed) on a </p>
  
  <pre><code>config.getString("somepath");
  </code></pre>
  
  <p>now I should call </p>
  
  <pre><code>builder.getConfiguration()
  </code></pre>
  
  <p>again each time I want a fresh configuration.</p>
  
  <p>So how do I go about it?
  Can anything in Spring help me "refresh" a @Bean that has already been injected in many @Controllers? 
  It doesn't have to be automatic: I could implement a "reload" button in the admin console to trigger it.</p>