Skip to content

Add support for BeanRegistrar implementing RuntimeHintsRegistrar #34564

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 10, 2025 · 1 comment
Closed

Add support for BeanRegistrar implementing RuntimeHintsRegistrar #34564

sdeleuze opened this issue Mar 10, 2025 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement

Comments

@sdeleuze
Copy link
Contributor

Would be useful for native-compliant classpath checks described in #21497 for example, but likely also for other use cases.

@sdeleuze sdeleuze added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Mar 10, 2025
@sdeleuze sdeleuze added this to the 7.0.0-M4 milestone Mar 10, 2025
@sdeleuze sdeleuze self-assigned this Mar 10, 2025
@sdeleuze
Copy link
Contributor Author

I am not sure we can easily support BeanRegistrar implementing RuntimeHintsRegistrar with the GenericApplicationContext#register use case, so I will decline this issue, as there are alternative ways to declare RuntimeHintsRegistrar (META-INF/spring/aot.factories or @ImportRuntimeHints).

@sdeleuze sdeleuze closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2025
@sdeleuze sdeleuze removed this from the 7.0.0-M4 milestone Mar 21, 2025
@sdeleuze sdeleuze added the status: declined A suggestion or change that we don't feel we should currently apply label Mar 21, 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) status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant