如果环绕通知和异常通知里都配置了异常处理,
aop:around
aop:after-throwing
这种方式环绕通知会覆盖异常通知处理,反过来则不会
另外通知处理的顺序是根据xml配置顺序执行的
spring aml配置aop执行顺序
猜你喜欢
转载自ququjioulai.iteye.com/blog/1979413
今日推荐
周排行