Package org.springframework.aop.aspectj
Class AspectJPointcutAdvisor
java.lang.Object
org.springframework.aop.aspectj.AspectJPointcutAdvisor
- All Implemented Interfaces:
Advisor
,PointcutAdvisor
,Ordered
- Since:
- 2.0
- Author:
- Adrian Colyer, Juergen Hoeller
-
Field Summary
Fields inherited from interface org.springframework.aop.Advisor
EMPTY_ADVICE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionCreate a new AspectJPointcutAdvisor for the given advice. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.aop.Advisor
isPerInstance
-
Constructor Details
-
AspectJPointcutAdvisor
Create a new AspectJPointcutAdvisor for the given advice.- Parameters:
advice
- the AbstractAspectJAdvice to wrap
-
-
Method Details
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()Description copied from interface:Ordered
Get the order value of this object.Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet
load-on-startup
values).Same order values will result in arbitrary sort positions for the affected objects.
-
getAdvice
Description copied from interface:Advisor
Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc. -
getPointcut
Description copied from interface:PointcutAdvisor
Get the Pointcut that drives this advisor.- Specified by:
getPointcut
in interfacePointcutAdvisor
-
getAspectName
Return the name of the aspect (bean) in which the advice was declared.- Since:
- 4.3.15
- See Also:
-
equals
-
hashCode
public int hashCode()
-