Skip to content

Add BeanFactory.getBeanNamesWithAnnotation(Class<?>, boolean, boolean) for parity with getBeansOfType(...) [SPR-11069] #15696

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-11069 and commented

Add BeanFactory.getBeanNamesWithAnnotation(Class<?>, boolean, boolean) for parity with getBeansOfType(...). The existing BeanFactory.getBeansWithAnnotation(Class<?>) is useful, but causes eager initialization of beans and factory beans. It would be good to avoid that where necessary, especially in Condition implementations.


No further details from SPR-11069

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