易百教程

24、AOP 中有哪些类型的通知(advice)?

Spring AOP 中有 5 种通知(advice)类型。

  • 之前Advice
  • 之后Advice
  • 之后返回 Advice
  • Throws Advice
  • Around Advice