Closed
Description
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:
- Consistent *Aware callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars [SPR-14686] #19250 Consistent *Aware callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars