aop:around
public void doAround(ProceedingJoinPoint joinPoint)
aop:before和aop:after
public void before(JoinPoint joinPoint)
<aop:after-throwing pointcut="" method="afterThrowing" throwing="ex"/>
throwing属性如果有配置,那么方法afterThrowing定义如下
public void afterThrowing(JoinPoint joinPoint, Exception ex)
扫描二维码关注公众号,回复:
353185 查看本文章