Skip to content

Add support for refreshing an ApplicationContext for AOT processing #28065

@snicoll

Description

@snicoll

For us to be able to pre-process an ApplicationContext at build-time, we need a way to "refresh" it up to a point where it is ready to create bean instances, this includes:

  • Prepare the BeanFactory
  • Invoke BeanDefinitionRegistryPostProcessor implementations
  • Invoke MergedBeanDefinitionPostProcessor implementations (note that these are special extensions of BeanPostProcessor that operates at the (merged) BeanDefinition level

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions