类 StaticMethodMatcherPointcutAdvisor
java.lang.Object
cn.taketoday.core.OrderedSupport
cn.taketoday.aop.support.StaticMethodMatcher
cn.taketoday.aop.support.StaticMethodMatcherPointcut
cn.taketoday.aop.support.StaticMethodMatcherPointcutAdvisor
- 所有已实现的接口:
Advisor,MethodMatcher,Pointcut,PointcutAdvisor,Ordered,Serializable
public abstract class StaticMethodMatcherPointcutAdvisor
extends StaticMethodMatcherPointcut
implements PointcutAdvisor, Ordered, Serializable
Convenient base class for Advisors that are also static pointcuts.
Serializable if Advice and subclass are.
- 从以下版本开始:
- 3.0
- 作者:
- Rod Johnson, Juergen Hoeller, TODAY 2021/2/4 12:11
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.core.OrderedSupport
order从接口继承的字段 cn.taketoday.aop.Advisor
EMPTY_ADVICE从接口继承的字段 cn.taketoday.aop.MethodMatcher
TRUE从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明Create a new StaticMethodMatcherPointcutAdvisor, expecting bean-style configuration.Create a new StaticMethodMatcherPointcutAdvisor for the given advice. -
方法概要
修饰符和类型方法说明Return the advice part of this aspect.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 bean factory.void从类继承的方法 cn.taketoday.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher, setClassFilter从类继承的方法 cn.taketoday.aop.support.StaticMethodMatcher
isRuntime, matches从类继承的方法 cn.taketoday.core.OrderedSupport
getOrder, setOrder从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.aop.MethodMatcher
matches
-
构造器详细资料
-
StaticMethodMatcherPointcutAdvisor
public StaticMethodMatcherPointcutAdvisor()Create a new StaticMethodMatcherPointcutAdvisor, expecting bean-style configuration. -
StaticMethodMatcherPointcutAdvisor
Create a new StaticMethodMatcherPointcutAdvisor for the given advice.- 参数:
advice- the Advice to use
-
-
方法详细资料
-
setAdvice
-
getAdvice
从接口复制的说明:AdvisorReturn the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc. -
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
-
getPointcut
从接口复制的说明:PointcutAdvisorGet the Pointcut that drives this advisor.- 指定者:
getPointcut在接口中PointcutAdvisor
-