Provide functionality similar to Spring Boot's BeanTypeRegistry #23056
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Spring Boot currently has an internal class called
BeanTypeRegistry
that is used by@ConditionalOnBean
and@ConditionalOnMissingBean
. We've have a recent issue where we need something similar, but rather than make it public in Spring Boot it might be better if Spring Framework could offer methods that we could use.What we specifically need is a way to predict the bean type in a way that's very fast to call during condition evaluation and doesn't cause any early initialization of any beans (including
FactoryBeans
).After some analysis, I'm going to split this issue up into a number of smaller parts:
The text was updated successfully, but these errors were encountered: