点击这里成为作者 · 更新于 2017-11-22 20:00:55

通知的类型?

before: Run advice before the a method execution.

after: Run advice after the a method execution regardless of its outcome.

after-returning: Run advice after the a method execution only if method completes successfully.

after-throwing: Run advice after the a method execution only if method exits by throwing an exception.

around: Run advice before and after the advised method is invoked.

上一篇: 什么是 AOP? 下一篇: Join point?