Skip to content

Allow BeanRegistrationAotContributions to provide BeanRegistrationCodeFragments customization #28557

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

Closed
philwebb opened this issue Jun 3, 2022 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Jun 3, 2022

Currently only BeanRegistrationCodeFragmentsCustomizer can be used to customize BeanRegistrationCodeFragments but for parent/child context support we'd like to be able to apply customization directly from a BeanRegistrationAotContribution.

Making such a change should also allow us to from the BeanRegistrationCodeFragmentsCustomizer entirely since the same functionality could be achieved using the existing BeanRegistrationAotProcessor interface.

@philwebb philwebb self-assigned this Jun 3, 2022
@philwebb philwebb added the type: enhancement A general enhancement label Jun 3, 2022
@philwebb philwebb added this to the 6.0.0-M5 milestone Jun 3, 2022
@philwebb philwebb added the theme: aot An issue related to Ahead-of-time processing label Jun 3, 2022
philwebb added a commit that referenced this issue Jun 6, 2022
Update `customizeBeanRegistrationCodeFragments` so that it can access
the `GenerationContext`.

See gh-28557
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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