I\'d like to access the classname of the underlying class which is an instance of java.lang.reflect.Proxy.
java.lang.reflect.Proxy
Is this possible?
Simple and robust:
AopUtils.getTargetClass(object).getName();
Will also work for CGLIB proxies and non-proxy objects.