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

setAutodetectInterfaces

open fun setAutodetectInterfaces(autodetectInterfaces: Boolean): Unit

Set whether to autodetect proxy interfaces if none specified.

Default is "true". Turn this flag off to create a CGLIB proxy for the full target class if no interfaces specified.

See Also
#setProxyTargetClass