摘要: 首先在xml中开启注解支持 <!--开启AOP的注解支持--> <aop:aspectj-autoproxy/> 举例,环绕通知 创建一个切点类,com.spring.service下及其子包所有方法进行匹配 public class AopPointcutClass { @Pointcut("ex 阅读全文
posted @ 2020-04-15 16:16 一半人生 阅读(15463) 评论(0) 推荐(0) 编辑