|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.support.IntroductionInfoSupport
Support for implementations of IntroductionAdvice. This class allows for querying of all introduced interfaces, as well as implemented the implementsInterface() method from IntroductionAdvice. It also allows subclasses to conveniently add all interfaces from a given object, and to suppress interfaces that should not be added.
Field Summary | |
protected Log |
logger
|
protected Set |
publishedInterfaces
Set of Class |
Constructor Summary | |
IntroductionInfoSupport()
|
Method Summary | |
Class[] |
getInterfaces()
Return the additional interfaces introduced by this Advisor or Advice. |
protected void |
implementInterfacesOnObject(Object delegate)
|
boolean |
implementsInterface(Class intf)
Implementation of IntroductionAdvice method |
protected boolean |
isMethodOnIntroducedInterface(MethodInvocation mi)
Is this method on an introduced interface? |
void |
suppressInterface(Class intf)
Suppress the specified interface, which will have been autodetected due to its implementation by the delegate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient Log logger
protected Set publishedInterfaces
Constructor Detail |
public IntroductionInfoSupport()
Method Detail |
public void suppressInterface(Class intf)
intf
- interface to suppresspublic Class[] getInterfaces()
IntroductionInfo
getInterfaces
in interface IntroductionInfo
public boolean implementsInterface(Class intf)
DynamicIntroductionAdvice.implementsInterface(java.lang.Class)
protected void implementInterfacesOnObject(Object delegate)
protected final boolean isMethodOnIntroducedInterface(MethodInvocation mi)
mi
- method invocation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |