Provide a way to predict bean types without initializing FactoryBeans #23374
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
See this comment for details.
I don't think we currently have a way to tell the predicted type of a bean without initializing it. It might be nice if we could either surface a
getType(String name, boolean allowEagerInit)
or perhaps add a callback based approach similar to the existinggetBeanNames...
methods:We should wait until #23341 is merged before taking this on.
The text was updated successfully, but these errors were encountered: