Package org.springframework.aop.support
Class AbstractGenericPointcutAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractGenericPointcutAdvisor
- All Implemented Interfaces:
Serializable,Advisor,PointcutAdvisor,Ordered
- Direct Known Subclasses:
AspectJExpressionPointcutAdvisor,DefaultPointcutAdvisor,NameMatchMethodPointcutAdvisor,RegexpMethodPointcutAdvisor
Abstract generic
PointcutAdvisor
that allows for any Advice to be configured.- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.aop.Advisor
EMPTY_ADVICEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, isPerInstance, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.aop.PointcutAdvisor
getPointcut
-
Constructor Details
-
AbstractGenericPointcutAdvisor
public AbstractGenericPointcutAdvisor()
-
-
Method Details
-
setAdvice
Specify the advice that this advisor should apply. -
getAdvice
Description copied from interface:AdvisorReturn the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc.- Returns:
- the advice that should apply if the pointcut matches
- See Also:
-
toString
-