org.springframework.aop.framework
Class AopProxyUtils

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

public abstract class AopProxyUtils
extends java.lang.Object

Miscellaneous utilities for AOP proxies.

Author:
Rod Johnson

Constructor Summary
AopProxyUtils()
           
 
Method Summary
static java.lang.Class[] completeProxiedInterfaces(AdvisedSupport advised)
          Get complete set of interfaces to proxy.
static boolean equalsAdvisors(AdvisedSupport a, AdvisedSupport b)
           
static boolean equalsInProxy(AdvisedSupport a, AdvisedSupport b)
          Note the same as equality of the AdvisedSupport objects.
static boolean equalsProxiedInterfaces(AdvisedSupport a, AdvisedSupport b)
           
static java.lang.Object invokeJoinpointUsingReflection(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] args)
          Invoke the target directly via reflection.
 
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 java.lang.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

invokeJoinpointUsingReflection

public static java.lang.Object invokeJoinpointUsingReflection(java.lang.Object target,
                                                              java.lang.reflect.Method method,
                                                              java.lang.Object[] args)
                                                       throws java.lang.Throwable
Invoke the target directly via reflection.

Throws:
java.lang.Throwable

equalsInProxy

public static boolean equalsInProxy(AdvisedSupport a,
                                    AdvisedSupport b)
Note the same as equality of the AdvisedSupport objects.


equalsProxiedInterfaces

public static boolean equalsProxiedInterfaces(AdvisedSupport a,
                                              AdvisedSupport b)

equalsAdvisors

public static boolean equalsAdvisors(AdvisedSupport a,
                                     AdvisedSupport b)


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