类 InstantiationModelAwarePointcutAdvisorImpl.PerTargetInstantiationModelPointcut
java.lang.Object
infra.aop.support.DynamicMethodMatcher
infra.aop.support.DynamicMethodMatcherPointcut
infra.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl.PerTargetInstantiationModelPointcut
- 所有已实现的接口:
MethodMatcher,Pointcut
private static final class InstantiationModelAwarePointcutAdvisorImpl.PerTargetInstantiationModelPointcut
extends DynamicMethodMatcherPointcut
Pointcut implementation that changes its behaviour when the advice is instantiated.
Note that this is a dynamic pointcut; otherwise it might be optimized out
if it does not at first match statically.
-
嵌套类概要
从接口继承的嵌套类/接口 infra.aop.MethodMatcher
MethodMatcher.ClassFilterAwareUnionIntroductionAwareMethodMatcher, MethodMatcher.ClassFilterAwareUnionMethodMatcher, MethodMatcher.IntersectionIntroductionAwareMethodMatcher, MethodMatcher.IntersectionMethodMatcher, MethodMatcher.NegateMethodMatcher, MethodMatcher.UnionIntroductionAwareMethodMatcher, MethodMatcher.UnionMethodMatcher从接口继承的嵌套类/接口 infra.aop.Pointcut
Pointcut.GetterPointcut, Pointcut.SetterPointcut -
字段概要
字段从接口继承的字段 infra.aop.MethodMatcher
TRUE -
构造器概要
构造器构造器说明PerTargetInstantiationModelPointcut(AspectJExpressionPointcut declaredPointcut, Pointcut preInstantiationPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory) -
方法概要
修饰符和类型方法说明booleaninthashCode()private booleanbooleanCan override to add preconditions for dynamic matching.booleanmatches(MethodInvocation invocation) Check whether there a runtime (dynamic) match for this method, which must have matched statically.toString()从类继承的方法 infra.aop.support.DynamicMethodMatcherPointcut
getClassFilter, getMethodMatcher从类继承的方法 infra.aop.support.DynamicMethodMatcher
getTargetClass, isRuntime
-
字段详细资料
-
declaredPointcut
-
preInstantiationPointcut
-
aspectInstanceFactory
-
-
构造器详细资料
-
PerTargetInstantiationModelPointcut
public PerTargetInstantiationModelPointcut(AspectJExpressionPointcut declaredPointcut, Pointcut preInstantiationPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory)
-
-
方法详细资料
-
matches
从类复制的说明:DynamicMethodMatcherCan override to add preconditions for dynamic matching. This implementation always returns true.- 指定者:
matches在接口中MethodMatcher- 覆盖:
matches在类中DynamicMethodMatcher- 参数:
method- the candidate methodtargetClass- the target class- 返回:
- whether or not this method matches on application startup.
-
matches
从接口复制的说明:MethodMatcherCheck whether there a runtime (dynamic) match for this method, which must have matched statically.This method is invoked only if the 2-arg matches method returns
truefor the given method and target class, and if theMethodMatcher.isRuntime()method returnstrue. Invoked immediately before potential running of the advice, after any advice earlier in the advice chain has run.- 参数:
invocation- runtime invocation contains the candidate method and target class, arguments to the method- 返回:
- whether there's a runtime match
- 另请参阅:
-
isAspectMaterialized
private boolean isAspectMaterialized() -
equals
-
hashCode
public int hashCode() -
toString
-