Fixed javadoc
This commit is contained in:
parent
3e4b3cad6a
commit
8f1fefc159
|
|
@ -38,7 +38,7 @@ public abstract class ScopedProxyUtils {
|
|||
|
||||
|
||||
/**
|
||||
* Generates a scoped proxy for the supplied target bean, registering the target
|
||||
* Generate a scoped proxy for the supplied target bean, registering the target
|
||||
* bean with an internal name and setting 'targetBeanName' on the scoped proxy.
|
||||
* @param definition the original bean definition
|
||||
* @param registry the bean definition registry
|
||||
|
|
@ -63,7 +63,7 @@ public abstract class ScopedProxyUtils {
|
|||
|
||||
if (proxyTargetClass) {
|
||||
targetDefinition.setAttribute(AutoProxyUtils.PRESERVE_TARGET_CLASS_ATTRIBUTE, Boolean.TRUE);
|
||||
// ScopedFactoryBean's "proxyTargetClass" default is TRUE, so we don't need to set it explicitly here.
|
||||
// ScopedProxyFactoryBean's "proxyTargetClass" default is TRUE, so we don't need to set it explicitly here.
|
||||
}
|
||||
else {
|
||||
proxyDefinition.getPropertyValues().add("proxyTargetClass", Boolean.FALSE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue