title: Is @Autowired annotation handled by BeanPostProcessor in Spring?
body: <p>I claimed that:</p>
  
  <ol>
  <li><code>Spring</code> read bean definitions from java config</li>
  <li><code>BeanFactory</code> Create beans from defenitions</li>
  <li>Then dependencies are injected by <code>BeanPostProcessors</code></li>
  </ol>
  
  <p>But it happened that it's not accurate:</p>
  
  <pre><code>@Configuration
  @ImportResource("classpath:spring_config.xml")
  public class JavaConfig {
  
      @Autowired
      MyBean bean;
  
      @Bean
      public Boolean isBeanAutowired(){
          return bean != null;
      }
  }
  </code></pre>
  
  <p>The <code>isBeanAutowired</code> bean was initialized with <code>true</code>. </p>
  
  <p><strong>Question</strong>:</p>
  
  <p>How does it happen that <code>Autowired</code> logic work before all beans in context were initialized?  </p>