spring-framework / org.springframework.aop.framework / ProxyFactoryBean / setTargetName

setTargetName

open fun setTargetName(targetName: String): Unit

Set the name of the target bean. This is an alternative to specifying the target name at the end of the "interceptorNames" array.

You can also specify a target object or a TargetSource object directly, via the "target"/"targetSource" property, respectively.

See Also
#setInterceptorNames(String[])#setTarget(Object)#setTargetSource(org.springframework.aop.TargetSource)