ITeye博客

aop对应的方法定义

strongant · 2016-07-20 09:27 · 开源软件 · Markdown

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)

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。