摘要: 先创建注解 OperInfo 然后创建AOP的切面类 LogAspect spring-mvc.xml配置 最后在需要拦截的service上加上注解就行了 阅读全文
posted @ 2016-12-28 13:12 我是一个菜鸟哦 阅读(4675) 评论(1) 推荐(0) 编辑
摘要: 1 public class ReflectUtils { 2 /** 3 * 通过构造函数实例化对象 4 * @param className 类的全路径名称 5 * @param parameterTypes 参数类型 6 * @param initargs 参数值 7 ... 阅读全文
posted @ 2016-12-12 10:43 我是一个菜鸟哦 阅读(3699) 评论(0) 推荐(0) 编辑