title: Spring @EnableSpringConfigured not work
body: <p>I try to use @EnableSpringConfigured, but it is not work.</p>
  
  <p>Engine.java</p>
  
  <pre><code>@Component
  public class Engine {
  
      public void run() {
          System.out.println("Engine run");
      }
  }
  </code></pre>
  
  <p>Entity.java</p>
  
  <pre><code>@Component
  @Configurable(autowire = Autowire.BY_TYPE)
  public class Entity {
  
      @Autowired
      private Engine engine;
  
      public void exec() {
          if (engine != null)
              engine.run();
          else
              System.out.println("exec failure");
      }
  
  }
  </code></pre>
  
  <p>EntityBuilder.java</p>
  
  <pre><code>@Component
  public class EntityBuilder {
  
      public Entity create() {
          return new Entity();
      }
  }
  </code></pre>
  
  <p>EntityApplication.java</p>
  
  <pre><code>@Configuration
  @ComponentScan
  @EnableSpringConfigured
  public class EntityApplication {
  
      public static void main(String[] args) {
          AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(EntityApplication.class);
          EntityBuilder builder = context.getBean(EntityBuilder.class);
          builder.create().exec();
      }
  }
  </code></pre>
  
  <p>The above four java in same package, I try run EntityApplication.java and expect to see "Engine run", but actual result always is "exec failure".</p>
  
  <hr>
  
  <p>help! code is in <a href="https://github.com/lemonguge/spring/tree/master/spring-core/spring-aspect/src/main/java/cn/homjie/spring/aspect/newx" rel="nofollow noreferrer">https://github.com/lemonguge/spring/tree/master/spring-core/spring-aspect/src/main/java/cn/homjie/spring/aspect/newx</a></p>