abstract class ScopedProxyUtils
Utility class for creating a scoped proxy. Used by ScopedProxyBeanDefinitionDecorator and ClassPathBeanDefinitionScanner.
Author
Mark Fisher
Author
Juergen Hoeller
Author
Rob Harrop
Since
2.5
ScopedProxyUtils()
Utility class for creating a scoped proxy. Used by ScopedProxyBeanDefinitionDecorator and ClassPathBeanDefinitionScanner. |
open static fun createScopedProxy(definition: BeanDefinitionHolder, registry: BeanDefinitionRegistry, proxyTargetClass: Boolean): BeanDefinitionHolder
Generate a scoped proxy for the supplied target bean, registering the target bean with an internal name and setting 'targetBeanName' on the scoped proxy. |
|
open static fun getTargetBeanName(originalBeanName: String): String
Generate the bean name that is used within the scoped proxy to reference the target bean. |
|
open static fun isScopedTarget(beanName: String): Boolean
Specify if the |