-
Couldn't load subscription status.
- Fork 38.8k
Closed as not planned
Closed as not planned
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
I am very enthusiast about Spring 6.2 feaute of Bean Background Initialization implemented via @Bean annotation.
However, I would suggest to extend it also to @Component-scanned beans. I have an application with thousands of beans, and I am working on improving its startup time. Basically, while I have benefitted from @Bean(bootstrap = BACKGROUND) for @Configuration-factored bean, it is not convenient to refactor a number of @Component beans into @Bean beans for reasons of simplicity.
Implementing the bootstrap = BACKGROUND attribute into @Component and derivatives seems to me to be the next step.
Any thoughts on this?
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply