Skip to content

Scanned components don't have the ability of being "primary" candidates [SPR-5155] #9828

@spring-projects-issues

Description

@spring-projects-issues

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:

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