Skip to content

Provide a method to retrieve all singleton autowire candidates from the bean factory #34591

Closed
@wilkinsona

Description

@wilkinsona

Please see spring-projects/spring-boot#44706 for background. It would be useful to have a method similar to SimpleAutowireCandidateResolver.resolveAutowireCandidates(ConfigurableListableBeanFactory, Class<T>) that only considers singleton beans. The key to addressing spring-projects/spring-boot#44706 is to avoid any attempt to create prototype beans.

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