Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ImportAware in AOT-processed contexts #28111

Closed
snicoll opened this issue Feb 28, 2022 · 1 comment
Closed

Support for ImportAware in AOT-processed contexts #28111

snicoll opened this issue Feb 28, 2022 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Feb 28, 2022

When a context is pre-processed by the AOT engine, there's no configuration class parsing at runtime anymore and the link between an ImportAware configuration class and the class that imported it should be preserved.

This can be done by computing the mapping and then providing a post procesor that honors the callback.

@snicoll snicoll added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Feb 28, 2022
@snicoll snicoll added this to the 6.0.0-M3 milestone Feb 28, 2022
@snicoll snicoll self-assigned this Feb 28, 2022
snicoll added a commit to snicoll/spring-framework that referenced this issue Feb 28, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
philwebb pushed a commit to philwebb/spring-framework that referenced this issue Mar 2, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 2, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 2, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 2, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 2, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
philwebb pushed a commit to philwebb/spring-framework that referenced this issue Mar 3, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 3, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
snicoll added a commit to snicoll/spring-framework that referenced this issue Mar 4, 2022
This commit improves ConfigurationClassPostProcessor so that it can
participate to ahead of time optimizations by computing a mapping of
the ImportAware configuration classes.

Closes spring-projectsgh-28111
@snicoll
Copy link
Member Author

snicoll commented Mar 9, 2022

Closed by 9ba9272

@snicoll snicoll closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant