|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.support.AbstractPointcutAdvisor org.springframework.aop.support.DefaultPointcutAdvisor
Convenient pointcut-driven advisor implementation.
This is the most commonly used Advisor implementation. It can be used with any pointcut and advice type, except for introductions. There is normally no need to subclass this class, or to implement custom Advisors.
Constructor Summary | |
DefaultPointcutAdvisor()
Create an empty DefaultPointcutAdvisor. |
|
DefaultPointcutAdvisor(Advice advice)
Create a DefaultPointcutAdvisor that matches all methods. |
|
DefaultPointcutAdvisor(Pointcut pointcut,
Advice advice)
Create a DefaultPointcutAdvisor, specifying pointcut and advice |
Method Summary | |
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor. |
void |
setPointcut(Pointcut pointcut)
|
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor |
equals, getAdvice, getOrder, hashCode, isPerInstance, setAdvice, setOrder, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultPointcutAdvisor()
public DefaultPointcutAdvisor(Advice advice)
advice
- the advice to usepublic DefaultPointcutAdvisor(Pointcut pointcut, Advice advice)
pointcut
- pointcut targeting the adviceadvice
- advice to run when pointcut matchesMethod Detail |
public void setPointcut(Pointcut pointcut)
public Pointcut getPointcut()
PointcutAdvisor
getPointcut
in interface PointcutAdvisor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |