|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.framework.AopProxyUtils
public abstract class AopProxyUtils
Utility methods for AOP proxy factories. Mainly for internal use within the AOP framework.
See AopUtils
for a collection of
generic AOP utility methods which do not depend on AOP framework internals.
AopUtils
Constructor Summary | |
---|---|
AopProxyUtils()
|
Method Summary | |
---|---|
static Class[] |
completeProxiedInterfaces(AdvisedSupport advised)
Determine the complete set of interfaces to proxy for the given AOP configuration. |
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. |
static Class[] |
proxiedUserInterfaces(Object proxy)
Extract the user-specified interfaces that the given proxy implements, i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AopProxyUtils()
Method Detail |
---|
public static Class[] completeProxiedInterfaces(AdvisedSupport advised)
This will always add the Advised
interface unless the AdvisedSupport's
"opaque"
flag is on. Always adds the
SpringProxy
marker interface.
Advised
,
SpringProxy
public static Class[] proxiedUserInterfaces(Object proxy)
proxy
- the proxy to analyze (usually a JDK dynamic proxy)
null
or empty)Advised
public static boolean equalsInProxy(AdvisedSupport a, AdvisedSupport b)
public static boolean equalsProxiedInterfaces(AdvisedSupport a, AdvisedSupport b)
public static boolean equalsAdvisors(AdvisedSupport a, AdvisedSupport b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |