Skip to content

Allow AnnotationTypeFilter to consider interfaces as well [SPR-8336] #12984

Closed
@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-8336 and commented

Currently AnnotationTypeFilter invokes the constructor of AbstractTypeHierarchyTraversingFilter setting considerInterfaces to false. This probably makes sense in most cases. However there might be BeanDefinitionParser implementations that declare a FactoryBean creating a proxy for discovered interfaces. So it would be cool if we could add a constructor to pass in a boolean to enable interface discovery as well.


Affects: 3.0.5, 3.1 M1

Attachments:

Issue Links:

Referenced from: commits spring-projects/spring-data-commons@4a70506

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