Skip to content

Allow @ComponentScan custom filters to implement *Aware interfaces [SPR-14009] #18581

Closed
@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-14009 and commented

@ComponentScan allows custom TypeFilters to be created and used for scanning. Spring Boot would like to have access to the BeanFactory from within the filter, however, this isn't currently possible. It would be helpful if a subset of *Aware interfaces could be implemented on the filter (much like they can be on ImportBeanDefinitionRegistrar & ImportSelector.


Affects: 4.2.5

Issue Links:

Referenced from: pull request #984, and commits 094cf6c

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions