feat
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
| 后置通知(After) | 目标方法执行后执行(无论是否抛出异常) |
|
||||
| 返回通知(AfterReturning) | 目标方法正常返回后执行 |
|
||||
| 异常通知(AfterThrowing) | 目标方法抛出异常后执行 |
|
||||
| 环绕通知(Around) | 包裹目标方法执行,可自定义目标方法执行前后的逻辑(功能最强) |
|
||||
| 环绕通知(Around) | 包裹目标方法执行,可自定义目标方法执行前后的逻辑(功能最强) |
|
||||
  [AOP API](https://docs.springjava.cn/spring-framework/reference/core/aop-api.html)
|
||||
|
||||
# 二、原理
|
||||
  Spring AOP 基于动态代理实现,分为两种方式:
|
||||
|
||||
Reference in New Issue
Block a user