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.
definition - the original bean definition
registry - the bean definition registry
proxyTargetClass - whether to create a target class proxy
Return
the scoped proxy definition