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

Version:
$Id: AopProxyUtils.java,v 1.6 2004/03/19 21:35:54 johnsonr Exp $
Author:
Rod Johnson

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

Returns:
the complete set of interfaces to proxy

invokeJoinpointUsingReflection

public static java.lang.Object invokeJoinpointUsingReflection(java.lang.Object target,
                                                              java.lang.reflect.Method m,
                                                              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.



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