spring AOP

spring aop怎么用与实现原理:https://blog.csdn.net/u012098021/article/details/116802329

 

spring aop: 定义advisor

advisor:Pointcut 与 Advice

 Advice:增强方法

Pointcut:ClassFilter与MethodMatcher

ClassFilter:筛选类

MethodMatcher:筛选方法

注解:通过反射读取类或方法的注解,来决定要不要代理这个方法

posted @ 2022-08-28 22:04  无极是一种信仰  阅读(16)  评论(0)    收藏  举报