org.springframework.aop.framework
Class AopProxyUtils

java.lang.Object
  extended byorg.springframework.aop.framework.AopProxyUtils

public abstract class AopProxyUtils
extends Object

Miscellaneous utilities for AOP proxy implementations.

Author:
Rod Johnson

Constructor Summary
AopProxyUtils()
           
 
Method Summary
static Class[] completeProxiedInterfaces(AdvisedSupport advised)
          Get complete set of interfaces to proxy.
static boolean equalsAdvisors(AdvisedSupport a, AdvisedSupport b)
          Check equality of the advisors behind the given AdvisedSupport objects.
static boolean equalsInProxy(AdvisedSupport a, AdvisedSupport b)
          Check equality of the proxies behind the given AdvisedSupport objects.
static boolean equalsProxiedInterfaces(AdvisedSupport a, AdvisedSupport b)
          Check equality of the proxied interfaces behind the given AdvisedSupport objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AopProxyUtils

public AopProxyUtils()
Method Detail

completeProxiedInterfaces

public static Class[] completeProxiedInterfaces(AdvisedSupport advised)
Get complete set of interfaces to proxy. This will always add the Advised interface unless the AdvisedSupport's "opaque" flag is true.

Returns:
the complete set of interfaces to proxy

equalsInProxy

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.


equalsProxiedInterfaces

public static boolean equalsProxiedInterfaces(AdvisedSupport a,
                                              AdvisedSupport b)
Check equality of the proxied interfaces behind the given AdvisedSupport objects.


equalsAdvisors

public static boolean equalsAdvisors(AdvisedSupport a,
                                     AdvisedSupport b)
Check equality of the advisors behind the given AdvisedSupport objects.



Copyright (C) 2003-2004 The Spring Framework Project.