接口的使用
infra.aop.MethodMatcher
使用MethodMatcher的程序包
程序包
说明
Aspect Programming
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Framework AOP.
-
infra.aop中MethodMatcher的使用
修饰符和类型接口说明interfaceA specialized type ofMethodMatcherthat takes into account introductions when matching methods.实现MethodMatcher的infra.aop中的类修饰符和类型类说明static classMethodMatcher implementation for a union of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher, supporting an associated ClassFilter per MethodMatcher.static classMethodMatcher implementation for a union of two given MethodMatchers, supporting an associated ClassFilter per MethodMatcher.static classMethodMatcher implementation for an intersection of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher.static classMethodMatcher implementation for an intersection of two given MethodMatcher.static classstatic classMethodMatcher implementation for a union of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher.static classMethodMatcher implementation for a union of two given MethodMatcher.static classPointcut implementation that matches bean property getters.static classPointcut implementation that matches bean property setters.(专用程序包) final classCanonical MethodMatcher instance that matches all methods.声明为MethodMatcher的infra.aop中的字段修饰符和类型字段说明protected final MethodMatcherMethodMatcher.IntersectionMethodMatcher.mm1protected final MethodMatcherMethodMatcher.UnionMethodMatcher.mm1protected final MethodMatcherMethodMatcher.IntersectionMethodMatcher.mm2protected final MethodMatcherMethodMatcher.UnionMethodMatcher.mm2private final MethodMatcherMethodMatcher.NegateMethodMatcher.originalstatic final MethodMatcherMethodMatcher.TRUECanonical instance that matches all methods.返回MethodMatcher的infra.aop中的方法修饰符和类型方法说明Pointcut.getMethodMatcher()Return the MethodMatcher for this pointcut.TruePointcut.getMethodMatcher()static MethodMatcherMethodMatcher.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static MethodMatcherMethodMatcher.negate(MethodMatcher methodMatcher) Return a method matcher that represents the logical negation of the specified matcher instance.static MethodMatcherMethodMatcher.union(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) Match all methods that either (or both) of the given MethodMatchers matches.static MethodMatcherMethodMatcher.union(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.参数类型为MethodMatcher的infra.aop中的方法修饰符和类型方法说明static MethodMatcherMethodMatcher.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static booleanMethodMatcher.matches(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) Apply the given MethodMatcher to the given Method, supporting anIntroductionAwareMethodMatcher(if applicable).static MethodMatcherMethodMatcher.negate(MethodMatcher methodMatcher) Return a method matcher that represents the logical negation of the specified matcher instance.static MethodMatcherMethodMatcher.union(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) Match all methods that either (or both) of the given MethodMatchers matches.static MethodMatcherMethodMatcher.union(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.参数类型为MethodMatcher的infra.aop中的构造器限定符构造器说明privateClassFilterAwareUnionIntroductionAwareMethodMatcher(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) privateClassFilterAwareUnionMethodMatcher(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) privateNegateMethodMatcher(MethodMatcher original) privateprivateUnionMethodMatcher(MethodMatcher mm1, MethodMatcher mm2) -
infra.aop.aspectj中MethodMatcher的使用
修饰符和类型类说明private static classMethodMatcher that excludes the specified advice method.classFrameworkPointcutimplementation that uses the AspectJ weaver to evaluate a pointcut expression. -
infra.aop.aspectj.annotation中MethodMatcher的使用
修饰符和类型类说明private static final classPointcut implementation that changes its behaviour when the advice is instantiated. -
infra.aop.support中MethodMatcher的使用
修饰符和类型类说明classAbstract base regular expression pointcut bean.classPointcut and method matcher for use in simple cflow-style pointcut.classConvenient abstract superclass for dynamic method matchers, which do care about arguments at runtime.classConvenient superclass when we want to force subclasses to implement MethodMatcher interface, but subclasses will want to be pointcuts.classRegular expression pointcut based on thejava.util.regexpackage.classPointcut bean for simple method name matches, as an alternative to regexp patterns.classConvenient abstract superclass for static method matchers, which don't care about arguments at runtime.classConvenient superclass when we want to force subclasses to implement theMethodMatcherinterface but subclasses will want to be pointcuts.classConvenient base class for Advisors that are also static pointcuts.声明为MethodMatcher的infra.aop.support中的字段修饰符和类型字段说明private MethodMatcherComposablePointcut.methodMatcherprivate final MethodMatcherRuntimeMethodInterceptor.methodMatcher修饰符和类型方法说明ComposablePointcut.getMethodMatcher()ControlFlowPointcut.getMethodMatcher()final MethodMatcherDynamicMethodMatcherPointcut.getMethodMatcher()final MethodMatcherStaticMethodMatcherPointcut.getMethodMatcher()参数类型为MethodMatcher的infra.aop.support中的方法修饰符和类型方法说明ComposablePointcut.intersection(MethodMatcher other) Apply an intersection with the given MethodMatcher.ComposablePointcut.union(MethodMatcher other) Apply a union with the given MethodMatcher.参数类型为MethodMatcher的infra.aop.support中的构造器限定符构造器说明ComposablePointcut(ClassFilter classFilter, MethodMatcher methodMatcher) Create a ComposablePointcut for the given ClassFilter and MethodMatcher.ComposablePointcut(MethodMatcher methodMatcher) Create a ComposablePointcut for the given MethodMatcher, withClassFilter.TRUE.RuntimeMethodInterceptor(MethodInterceptor interceptor, MethodMatcher methodMatcher) -
infra.aop.support.annotation中MethodMatcher的使用
修饰符和类型类说明classSimple MethodMatcher that looks for a specific Java 5 annotation being present on a method (checking both the method on the invoked interface, if any, and the corresponding method on the target class).