Skip to content

Consistent *Aware callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars [SPR-14686] #19250

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14686 and commented

Spring's configuration class processor provides callbacks for the common BeanClassLoaderAware, BeanFactoryAware, EnvironmentAware, and ResourceLoaderAware contracts, as known from the core BeanFactory creation algorithm. However, its callback order differs from the core BeanFactory 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-defined TypeFilter class names. Let's close that gap as well.


Affects: 4.3.2

Issue Links:

Referenced from: commits 09a0615, 0c2e8a6

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions