Pierre Maréchal opened SPR-11842 and commented
Using @Bean to declare my HttpInvokerProxyFactoryBean and @Autowire to inject it, Spring does not seem to resolve that my bean depends on the factory bean.
I've attached a sample project displaying the behaviour.
Simply run "mvn test"
un-commenting the @DependsOn in MyBean works around the issue though.
Affects: 4.0.5
Attachments:
Issue Links:
Referenced from: commits ae66e45, 85b2c7d
Pierre Maréchal opened SPR-11842 and commented
Using
@Beanto declare my HttpInvokerProxyFactoryBean and@Autowireto inject it, Spring does not seem to resolve that my bean depends on the factory bean.I've attached a sample project displaying the behaviour.
Simply run "mvn test"
un-commenting the
@DependsOnin MyBean works around the issue though.Affects: 4.0.5
Attachments:
Issue Links:
@Beanmethod leads to early call (pre injection)Referenced from: commits ae66e45, 85b2c7d