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

First-class support for BeanRegistrar registration on GenericApplicationContext #34574

Closed
jhoeller opened this issue Mar 11, 2025 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@jhoeller
Copy link
Contributor

jhoeller commented Mar 11, 2025

The new BeanRegistrar interface introduced in #18353 is not only suitable for @Import usage on a @Configuration class but also for encapsulated pieces of programmatic registration that can be applied to any GenericApplicationContext. A register(BeanRegistrar...) method on GenericApplicationContext makes this obvious.

@jhoeller jhoeller added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Mar 11, 2025
@jhoeller jhoeller added this to the 7.0.0-M3 milestone Mar 11, 2025
@jhoeller jhoeller self-assigned this Mar 11, 2025
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) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant