Type-based bean name resolution with fallback matching for incomplete generics #32649
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
With reference to spring-projects/spring-boot#40234 (comment), it would be very useful if
DefaultListableBeanFactory
automatically considered the target type of a factory bean's definition when determining the type that it will produce. This would complement the existing support for checking theFactoryBean.OBJECT_TYPE_ATTRIBUTE
on the definition. From Boot's perspective, the end goal is to improve the matching ofbeanFactory.getBeanNamesForType(resolvableType, true, false)
The text was updated successfully, but these errors were encountered: