Scanned components don't have the ability of being "primary" candidates [SPR-5155] #9828
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Tuomas Kiviaho opened SPR-5155 and commented
Annotations don't have the possibility to flag a component as 'primary' candidate (nor can they be disabled from being 'autowire-candidate'). ScannedGenericBeanDefinition could quite easily be enhanced to support the feature if it's available in metadata.
Affects: 2.5.5
Issue Links:
@Primary
annotationThe text was updated successfully, but these errors were encountered: