title: autowired entries are null when using @Scheduled annotation?
body: <p>Spring version 4.2.0.RELEASE</p>
  
  <p>Given following class, config member becomes null when cleanDocumentMirror method is executed by spring. My code is essentially similar to <a href="http://spring.io/blog/2010/01/05/task-scheduling-simplifications-in-spring-3-0/" rel="noreferrer" title="spring example">spring example</a>. Its not just this field, but all other autowired fields are null.</p>
  
  <p>I have afterPropertiesSet method, and that method is referring to config member and it does not fail or in otherwords members are auto wired correctly. Application does start correctly and does work correctly as all dependencies are injected correctly. Only when this method is called, I see all autowired entries as null.</p>
  
  <p>The class has some methods with @JmsListener annotation and when spring invokes those methods, members look correct. Only when scheduled method is called, I face the problem. So likely I need to enable some settings.</p>
  
  <pre><code>@Component
  @Scope("singleton")
  @Transactional(value = "somevalue")
  @EnableTransactionManagement()
  public class DownloadResponseListener implements InitializingBean {
       @Autowired
       AggregatorConfig config;
  
    @JmsListener(destination = "response_queue", containerFactory = "mqConnectionContainerFactory") 
  public void process(final ObjectMessage message) {
      config.getConfigrationValue(); // works correctly here.
      }
  
    @Scheduled(fixedRate = 5 * 1000)
    void cleanDocumentMirror() {
         config.getConfigrationValue(); // causes NPE here as config is null
    }
  }
  </code></pre>