|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.aop.support.DefaultIntroductionAdvisor
Simple IntroductionAdvisor implementation that by default applies to any class.
| Field Summary |
| Fields inherited from interface org.springframework.aop.ClassFilter |
TRUE |
| Constructor Summary | |
DefaultIntroductionAdvisor(DelegatingIntroductionInterceptor dii)
Wrap this interceptor and introduce all interfaces. |
|
DefaultIntroductionAdvisor(IntroductionInterceptor interceptor)
|
|
DefaultIntroductionAdvisor(IntroductionInterceptor interceptor,
java.lang.Class clazz)
|
|
| Method Summary | |
void |
addInterface(java.lang.Class intf)
|
org.aopalliance.aop.Advice |
getAdvice()
Return the advice part of this aspect. |
ClassFilter |
getClassFilter()
|
java.lang.Class[] |
getInterfaces()
|
boolean |
isPerInstance()
Default for an introduction is per-instance interception. |
boolean |
matches(java.lang.Class clazz)
Should the pointcut apply to the given interface or target class? |
void |
validateInterfaces()
Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultIntroductionAdvisor(IntroductionInterceptor interceptor)
public DefaultIntroductionAdvisor(IntroductionInterceptor interceptor,
java.lang.Class clazz)
throws AopConfigException
public DefaultIntroductionAdvisor(DelegatingIntroductionInterceptor dii)
| Method Detail |
public void addInterface(java.lang.Class intf)
throws AopConfigException
AopConfigExceptionpublic ClassFilter getClassFilter()
getClassFilter in interface IntroductionAdvisorpublic org.aopalliance.aop.Advice getAdvice()
Advisor
getAdvice in interface Advisorpublic java.lang.Class[] getInterfaces()
getInterfaces in interface IntroductionAdvisorpublic boolean matches(java.lang.Class clazz)
ClassFilter
matches in interface ClassFilterclazz - candidate target class
public boolean isPerInstance()
isPerInstance in interface Advisor
public void validateInterfaces()
throws AopConfigException
IntroductionAdvisor
validateInterfaces in interface IntroductionAdvisorAopConfigException - if the advised interfaces can't
be implemented by the introduction advice
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||