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

isJdkDynamicProxy

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

Check whether the given object is a JDK dynamic proxy.

This method goes beyond the implementation of Proxy#isProxyClass(Class) by additionally checking if the given object is an instance of SpringProxy.

Parameters

object - the object to check

See Also
java.lang.reflect.Proxy#isProxyClass