接口的使用
infra.aop.Pointcut
使用Pointcut的程序包
程序包
说明
Aspect Programming
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Framework AOP.
-
infra.aop中Pointcut的使用
修饰符和类型类说明static classPointcut implementation that matches bean property getters.static classPointcut implementation that matches bean property setters.(专用程序包) final classCanonical Pointcut instance that always matches.修饰符和类型字段说明static final PointcutPointcut.GETTERSPointcut matching all bean property getters, in any class.static final PointcutPointcut.SETTERSPointcut matching all bean property setters, in any class.static final PointcutPointcut.TRUECanonical Pointcut instance that always matches.修饰符和类型方法说明PointcutAdvisor.getPointcut()Get the Pointcut that drives this advisor.static PointcutPointcut.intersection(Pointcut pc1, Pointcut pc2) Match all methods that both the given pointcuts match.static PointcutMatch all methods that either (or both) of the given pointcuts matches.修饰符和类型方法说明static PointcutPointcut.intersection(Pointcut pc1, Pointcut pc2) Match all methods that both the given pointcuts match.static booleanPerform the least expensive check for a pointcut match.static booleanPointcut.matches(Pointcut pointcut, MethodInvocation invocation) Perform the least expensive check for a pointcut match.static PointcutMatch all methods that either (or both) of the given pointcuts matches. -
infra.aop.aspectj中Pointcut的使用
修饰符和类型类说明classFrameworkPointcutimplementation that uses the AspectJ weaver to evaluate a pointcut expression.声明为Pointcut的infra.aop.aspectj中的字段返回Pointcut的infra.aop.aspectj中的方法修饰符和类型方法说明final PointcutAbstractAspectJAdvice.buildSafePointcut()Build a 'safe' pointcut that excludes the AspectJ advice method itself.AspectJExpressionPointcutAdvisor.getPointcut()AspectJPointcutAdvisor.getPointcut() -
infra.aop.aspectj.annotation中Pointcut的使用
修饰符和类型类说明private static final classPointcut implementation that changes its behaviour when the advice is instantiated.修饰符和类型字段说明private final PointcutAspectMetadata.perClausePointcutFramework AOP pointcut corresponding to the per clause of the aspect.private final PointcutInstantiationModelAwarePointcutAdvisorImpl.pointcutprivate final PointcutInstantiationModelAwarePointcutAdvisorImpl.PerTargetInstantiationModelPointcut.preInstantiationPointcut修饰符和类型方法说明AspectMetadata.getPerClausePointcut()Return a Framework pointcut expression for a singleton aspect.InstantiationModelAwarePointcutAdvisorImpl.getPointcut()The pointcut for Framework AOP to use.参数类型为Pointcut的infra.aop.aspectj.annotation中的构造器限定符构造器说明PerTargetInstantiationModelPointcut(AspectJExpressionPointcut declaredPointcut, Pointcut preInstantiationPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory) -
infra.aop.support中Pointcut的使用
修饰符和类型接口说明interfaceInterface to be implemented by pointcuts that use String expressions.修饰符和类型类说明classAbstract superclass for expression pointcuts, offering location and expression properties.classAbstract base regular expression pointcut bean.classConvenient class for building up pointcuts.classPointcut and method matcher for use in simple cflow-style pointcut.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 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.声明为Pointcut的infra.aop.support中的字段修饰符和类型字段说明private PointcutDefaultBeanFactoryPointcutAdvisor.pointcutprivate PointcutDefaultPointcutAdvisor.pointcut返回Pointcut的infra.aop.support中的方法修饰符和类型方法说明DefaultBeanFactoryPointcutAdvisor.getPointcut()DefaultPointcutAdvisor.getPointcut()NameMatchMethodPointcutAdvisor.getPointcut()RegexpMethodPointcutAdvisor.getPointcut()Initialize the singleton Pointcut held within this Advisor.StaticMethodMatcherPointcutAdvisor.getPointcut()参数类型为Pointcut的infra.aop.support中的方法修饰符和类型方法说明static booleanCan the given pointcut apply at all on the given class?static booleanCan the given pointcut apply at all on the given class?ComposablePointcut.intersection(Pointcut other) Apply an intersection with the given Pointcut.voidDefaultBeanFactoryPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.voidDefaultPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.Apply a union with the given Pointcut.参数类型为Pointcut的infra.aop.support中的构造器限定符构造器说明ComposablePointcut(Pointcut pointcut) Create a ComposablePointcut based on the given Pointcut.DefaultPointcutAdvisor(Pointcut pointcut, Advice advice) Create a DefaultPointcutAdvisor, specifying Pointcut and Advice. -
infra.aop.support.annotation中Pointcut的使用
修饰符和类型类说明class