Improve BeanFactory
/ObjectProvider
to select the only one default candidate among non-default candidates
#34432
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
We can inject the default candidate when other candidates are non-default, but there is no way to get the default candidate from
BeanFactory
unless we know the bean name, sometimes the bean name is volatile or not visible to application, for example registered by Spring Boot's AutoConfiguration.The text was updated successfully, but these errors were encountered: