spring-framework / org.springframework.aop.support / AopUtils / isAopProxy

isAopProxy

open static fun isAopProxy(@Nullable object: Any): Boolean

Check whether the given object is a JDK dynamic proxy or a CGLIB proxy.

This method additionally checks if the given object is an instance of SpringProxy.

Parameters

object - the object to check

See Also
#isJdkDynamicProxy#isCglibProxy