Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » framework » [javadoc | source]
org.springframework.aop.framework
abstract public class: AopProxyUtils [javadoc | source]
java.lang.Object
   org.springframework.aop.framework.AopProxyUtils
Utility methods for AOP proxy factories. Mainly for internal use within the AOP framework.

See org.springframework.aop.support.AopUtils for a collection of generic AOP utility methods which do not depend on AOP framework internals.

Method from org.springframework.aop.framework.AopProxyUtils Summary:
completeProxiedInterfaces,   equalsAdvisors,   equalsInProxy,   equalsProxiedInterfaces,   getTargetClass,   proxiedUserInterfaces
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.framework.AopProxyUtils Detail:
 public static Class[] completeProxiedInterfaces(AdvisedSupport advised) 
 public static boolean equalsAdvisors(AdvisedSupport a,
    AdvisedSupport b) 
    Check equality of the advisors behind the given AdvisedSupport objects.
 public static boolean equalsInProxy(AdvisedSupport a,
    AdvisedSupport b) 
    Check equality of the proxies behind the given AdvisedSupport objects. Not the same as equality of the AdvisedSupport objects: rather, equality of interfaces, advisors and target sources.
 public static boolean equalsProxiedInterfaces(AdvisedSupport a,
    AdvisedSupport b) 
    Check equality of the proxied interfaces behind the given AdvisedSupport objects.
 public static Class getTargetClass(Object candidate) 
Deprecated! as - of Spring 2.0.3, in favor of AopUtils.getTargetClass

    Determine the target class of the given bean instance, which might be an AOP proxy.

    Returns the target class for an AOP proxy and the plain class else.

 public static Class[] proxiedUserInterfaces(Object proxy) 
    Extract the user-specified interfaces that the given proxy implements, i.e. all non-Advised interfaces that the proxy implements.