Skip to content

Add support for ImportAware in BeanRegistrar #34627

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
sdeleuze opened this issue Mar 20, 2025 · 0 comments
Closed

Add support for ImportAware in BeanRegistrar #34627

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

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Mar 20, 2025

BeanRegistrar should provide optional support for implementations implementing ImportAware. When used outside of an import scenario, the setImportMetadata will just not be invoked, letting the implementation react as appropriate.

@sdeleuze sdeleuze added in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task labels Mar 20, 2025
@sdeleuze sdeleuze added this to the 7.0.0-M4 milestone Mar 20, 2025
@sdeleuze sdeleuze self-assigned this Mar 20, 2025
@sdeleuze sdeleuze changed the title Provide guidance in BeanRegistrar documentation about AnnotationMetadata Add support for ImportAware in BeanRegistrar Mar 20, 2025
@sdeleuze sdeleuze added type: enhancement A general enhancement and removed type: documentation A documentation task labels Mar 20, 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