摘要:
1.配置环绕通知 需要实现的接口为 MethodInterceptor代码举例 1 package com.huawei.aop; 2 3 import org.aopalliance.intercept.MethodInterceptor; 4 import org.aopalliance.intercept.MethodInvocation; 5 6 public class MyMethodInterceptor implements MethodInterceptor 7 { 8 9 @Override10 public Object invoke(Method... 阅读全文