Example usage for Java org.springframework.aop.scope ScopedProxyUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
BeanDefinitionHolder | createScopedProxy(BeanDefinitionHolder definition, BeanDefinitionRegistry registry, boolean proxyTargetClass) Generate a scoped proxy for the supplied target bean, registering the target bean with an internal name and setting 'targetBeanName' on the scoped proxy. |
String | getTargetBeanName(String originalBeanName) Generate the bean name that is used within the scoped proxy to reference the target bean. |
boolean | isScopedTarget(@Nullable String beanName) Specify if the beanName is the name of a bean that references the target bean within a scoped proxy. |