Provide a method to retrieve all singleton autowire candidates from the bean factory #34591
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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.The text was updated successfully, but these errors were encountered: