一、invocation 运行时的JoinPoint
- org.aopalliance.intercept.Joinpoint
顶层接口表示一个运行时的连接点,For instance, an
* invocation is the runtime joinpoint on a method (static joinpoint)
proceed() :Proceed to the next interceptor in the chain
org.aopalliance.intercept.Invocation
一个invocation就是一个joinpoint 可以被拦截器拦截
getArguments 获取且可以改变参数值
- org.springframework.aop.framework.ReflectiveMethodInvocation
spring对aop alliance的实现,利用反射invoke目标对象
属性包括 proxy,target,method,interceptorsAndDynamicMethodMatchers(mehodInterceptor)
重点proceed:主要是根据List 获取MethodInterceptor 然后调用invoke(MethodInvocation invocation)
@Nullable
public Object proceed() thr