接口的使用
cn.taketoday.aop.MethodMatcher
使用MethodMatcher的程序包
程序包
说明
Aspect Programming
AspectJ integration package.
-
cn.taketoday.aop中MethodMatcher的使用
修饰符和类型接口说明interfaceA specialized type ofMethodMatcherthat takes into account introductions when matching methods.声明为MethodMatcher的cn.taketoday.aop中的字段修饰符和类型字段说明static final MethodMatcherMethodMatcher.TRUECanonical instance that matches all methods. -
cn.taketoday.aop.aspectj中MethodMatcher的使用
修饰符和类型类说明classFrameworkPointcutimplementation that uses the AspectJ weaver to evaluate a pointcut expression. -
cn.taketoday.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.修饰符和类型方法说明ComposablePointcut.getMethodMatcher()ControlFlowPointcut.getMethodMatcher()final MethodMatcherDynamicMethodMatcherPointcut.getMethodMatcher()final MethodMatcherStaticMethodMatcherPointcut.getMethodMatcher()static MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static MethodMatcherMethodMatchers.union(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) Match all methods that either (or both) of the given MethodMatchers matches.static MethodMatcherMethodMatchers.union(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.参数类型为MethodMatcher的cn.taketoday.aop.support中的方法修饰符和类型方法说明ComposablePointcut.intersection(MethodMatcher other) Apply an intersection with the given MethodMatcher.static MethodMatcherMethodMatchers.intersection(MethodMatcher mm1, MethodMatcher mm2) Match all methods that both of the given MethodMatchers match.static booleanMethodMatchers.matches(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) Apply the given MethodMatcher to the given Method, supporting anIntroductionAwareMethodMatcher(if applicable).ComposablePointcut.union(MethodMatcher other) Apply a union with the given MethodMatcher.static MethodMatcherMethodMatchers.union(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) Match all methods that either (or both) of the given MethodMatchers matches.static MethodMatcherMethodMatchers.union(MethodMatcher mm1, MethodMatcher mm2) Match all methods that either (or both) of the given MethodMatchers matches.参数类型为MethodMatcher的cn.taketoday.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) -
cn.taketoday.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).