Skip to content

HttpInvokerProxyFactoryBean and co do not reliably expose correct type when declared via @Bean [SPR-11842] #16461

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions