open class DefaultPointcutAdvisor : AbstractGenericPointcutAdvisor, Serializable
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.
Author
Rod Johnson
Author
Juergen Hoeller
See Also
#setPointcut#setAdvice
DefaultPointcutAdvisor()
Create an empty DefaultPointcutAdvisor. Advice must be set before use using setter methods. Pointcut will normally be set also, but defaults to DefaultPointcutAdvisor(advice: Advice)
Create a DefaultPointcutAdvisor that matches all methods.
DefaultPointcutAdvisor(pointcut: Pointcut, advice: Advice)
Create a DefaultPointcutAdvisor, specifying Pointcut and Advice. |
open fun getPointcut(): Pointcut |
|
open fun setPointcut(pointcut: Pointcut): Unit
Specify the pointcut targeting the advice. Default is |
|
open fun toString(): String |