类 AspectJPointcutAdvisor
java.lang.Object
cn.taketoday.aop.aspectj.AspectJPointcutAdvisor
- 所有已实现的接口:
Advisor,PointcutAdvisor,Ordered
AspectJPointcutAdvisor that adapts an
AbstractAspectJAdvice
to the PointcutAdvisor interface.- 从以下版本开始:
- 4.0
- 作者:
- Adrian Colyer, Juergen Hoeller
-
字段概要
从接口继承的字段 cn.taketoday.aop.Advisor
EMPTY_ADVICE从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明Create a new AspectJPointcutAdvisor for the given advice. -
方法概要
修饰符和类型方法说明booleanReturn the advice part of this aspect.Return the name of the aspect (bean) in which the advice was declared.intgetOrder()Get the Pointcut that drives this advisor.inthashCode()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 bean factory.voidsetOrder(int order)
-
构造器详细资料
-
AspectJPointcutAdvisor
Create a new AspectJPointcutAdvisor for the given advice.- 参数:
advice- the AbstractAspectJAdvice to wrap
-
-
方法详细资料
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder() -
isPerInstance
public boolean isPerInstance()从接口复制的说明: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 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.- 指定者:
isPerInstance在接口中Advisor- 返回:
- whether this advice is associated with a particular target instance
-
getAdvice
从接口复制的说明:AdvisorReturn the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc. -
getPointcut
从接口复制的说明:PointcutAdvisorGet the Pointcut that drives this advisor.- 指定者:
getPointcut在接口中PointcutAdvisor
-
getAspectName
Return the name of the aspect (bean) in which the advice was declared. -
equals
-
hashCode
public int hashCode()
-