java.lang.Object | |||
↳ | org.springframework.aop.support.AbstractPointcutAdvisor | ||
↳ | org.springframework.aop.support.AbstractGenericPointcutAdvisor | ||
↳ | org.springframework.aop.support.DefaultPointcutAdvisor |
Known Direct Subclasses |
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.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.Ordered
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create an empty DefaultPointcutAdvisor.
| |||||||||||
Create a DefaultPointcutAdvisor that matches all methods.
| |||||||||||
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specify the pointcut targeting the advice.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.support.AbstractGenericPointcutAdvisor
| |||||||||||
From class
org.springframework.aop.support.AbstractPointcutAdvisor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Advisor
| |||||||||||
From interface
org.springframework.aop.PointcutAdvisor
| |||||||||||
From interface
org.springframework.core.Ordered
|
Create an empty DefaultPointcutAdvisor.
Advice must be set before use using setter methods.
Pointcut will normally be set also, but defaults to Pointcut.TRUE
.
Create a DefaultPointcutAdvisor that matches all methods.
Pointcut.TRUE
will be used as Pointcut.
advice | the Advice to use |
---|
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice.
pointcut | the Pointcut targeting the Advice |
---|---|
advice | the Advice to run when Pointcut matches |
Specify the pointcut targeting the advice.
Default is Pointcut.TRUE
.