类的使用
org.springframework.aop.aspectj.AspectJExpressionPointcut
使用AspectJExpressionPointcut的程序包 程序包 说明 org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.aspectj.annotation Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.org.springframework.aop.aspectj中AspectJExpressionPointcut的使用
返回AspectJExpressionPointcut的org.springframework.aop.aspectj中的方法 修饰符和类型 方法 说明 AspectJExpressionPointcut
AbstractAspectJAdvice. getPointcut()
Return the AspectJ expression pointcut.参数类型为AspectJExpressionPointcut的org.springframework.aop.aspectj中的构造器 构造器 说明 AbstractAspectJAdvice(Method aspectJAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aspectInstanceFactory)
Create a new AbstractAspectJAdvice for the given advice method.AspectJAfterAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
AspectJAfterReturningAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
AspectJAroundAdvice(Method aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
AspectJMethodBeforeAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)
org.springframework.aop.aspectj.annotation中AspectJExpressionPointcut的使用
参数类型为AspectJExpressionPointcut的org.springframework.aop.aspectj.annotation中的方法 修饰符和类型 方法 说明 Advice
AspectJAdvisorFactory. getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName)
Build a Spring AOP Advice for the given AspectJ advice method.Advice
ReflectiveAspectJAdvisorFactory. getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName)