- All Implemented Interfaces:
- Rod Johnson, Juergen Hoeller
- See Also:
Fields inherited from interface org.springframework.core.Ordered
Method SummaryModifier and TypeMethodDescriptionReturn the advice part of this aspect.
getOrder()Get the order value of this object.Get the Pointcut that drives this advisor.
booleanReturn whether this advice is associated with a particular instance (for example, creating a mixin) or shared with all instances of the advised class obtained from the same Spring bean factory.
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher, setClassFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
StaticMethodMatcherPointcutAdvisorpublic StaticMethodMatcherPointcutAdvisor()Create a new StaticMethodMatcherPointcutAdvisor, expecting bean-style configuration.
- See Also:
(Advice advice)Create a new StaticMethodMatcherPointcutAdvisor for the given advice.
advice- the Advice to use
setOrderpublic void setOrder
getOrderpublic int getOrder()Description copied from interface:
OrderedGet 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
Same order values will result in arbitrary sort positions for the affected objects.
setAdvicepublic void setAdvice
getAdvicepublic Advice 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.
isPerInstancepublic boolean isPerInstance()Description copied from interface:
AdvisorReturn whether this advice is associated with a particular instance (for example, creating a mixin) or shared with all instances of the advised class obtained from the same Spring bean factory.
Note that this method is not currently used by the framework. Typical Advisor implementations always return
true. Use singleton/prototype bean definitions or appropriate programmatic proxy creation to ensure that Advisors have the correct lifecycle model.
getPointcutpublic Pointcut getPointcut()Description copied from interface:
PointcutAdvisorGet the Pointcut that drives this advisor.