|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.support.DefaultPointcutAdvisor
Convenient pointcut-driven advisor implementation, implementing the getPointcut() and isPerInstance() methods.
This is the most commonly used Advisor implementation. It can be used with any pointcut and advice type, except for introductions.
Constructor Summary | |
DefaultPointcutAdvisor()
|
|
DefaultPointcutAdvisor(org.aopalliance.aop.Advice advice)
|
|
DefaultPointcutAdvisor(Pointcut pointcut,
org.aopalliance.aop.Advice advice)
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
org.aopalliance.aop.Advice |
getAdvice()
Return the advice part of this aspect. |
int |
getOrder()
Return the order value of this object, higher value meaning greater in terms of sorting. |
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor. |
boolean |
isPerInstance()
Return whether this advice is associated with a particular instance (for example, creating a mixin) or is it shared with all instances of the advised class obtained from the same Spring bean factory. |
void |
setAdvice(org.aopalliance.aop.Advice advice)
|
void |
setOrder(int order)
|
void |
setPointcut(Pointcut pointcut)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultPointcutAdvisor()
public DefaultPointcutAdvisor(org.aopalliance.aop.Advice advice)
public DefaultPointcutAdvisor(Pointcut pointcut, org.aopalliance.aop.Advice advice)
Method Detail |
public void setOrder(int order)
public int getOrder()
Ordered
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
getOrder
in interface Ordered
public void setAdvice(org.aopalliance.aop.Advice advice)
public org.aopalliance.aop.Advice getAdvice()
Advisor
getAdvice
in interface Advisor
public Pointcut getPointcut()
PointcutAdvisor
getPointcut
in interface PointcutAdvisor
public void setPointcut(Pointcut pointcut)
public boolean isPerInstance()
Advisor
isPerInstance
in interface Advisor
public boolean equals(java.lang.Object o)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |