Skip to content

Allow @ManagedResource to be used with @Bean methods [SPR-9908] #14541

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-9908 and commented

@ManagedResource should be allowed on @Bean methods in @Configuration classes. Otherwise it is not possible to expose a bean via annotations for which you do not have the source for.


Affects: 3.1.2

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions