Consistent *Aware callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars [SPR-14686] #19250
Comments
This was referenced Jan 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Juergen Hoeller opened SPR-14686 and commented
Spring's configuration class processor provides callbacks for the common
BeanClassLoaderAware
,BeanFactoryAware
,EnvironmentAware
, andResourceLoaderAware
contracts, as known from the coreBeanFactory
creation algorithm. However, its callback order differs from the coreBeanFactory
for historic reasons: Let's finally align these for 4.3.3, since there are no side effects to expect beyond Boot (which we have immediate CI tests for).Also,
ComponentScanBeanDefinitionParser
a.k.a.<context:component-scan>
does not provide any such callbacks for XML-definedTypeFilter
class names. Let's close that gap as well.Affects: 4.3.2
Issue Links:
@ComponentScan
custom filters to implement *Aware interfacesReferenced from: commits 09a0615, 0c2e8a6
The text was updated successfully, but these errors were encountered: