摘要: 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... 阅读全文
posted @ 2014-03-04 22:14 未来动力 阅读(179) 评论(0) 推荐(0) 编辑