Provide a method to get the original bean name from a scoped target's bean name #23514
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
We have a case in Spring Boot's
@SpyBean
support where we need to get the original bean name from a scoped target.ScopedProxyUtils
provides a method to go from the original to the scoped target name but not the other way around. Could such a method be added please?For the time being, we'll probably do something like this:
The text was updated successfully, but these errors were encountered: