AOP相关实现
2021-04-04 12:43:04 0 举报
AOP相关实现
作者其他创作
大纲/内容
<<interface>>RegexMatchExpression
<<interface>>AroundAdvice
<<interface>>BeforeAdvice
<<interface>>AfterAdvice
<<interface>>PointCut
<<interface>>AdvisorRegistry
+ registerAdvisor(Advisor advisor)+ getAdvisors():List<Advisor>
<<interface>>BeanFactory
+ getBean(String beanName):Object+ registerBeanPostProcessor(BeanPostProcessor processor)
<<interface>>AntPathMatchExpression
<<interface>> net.sf.cglib.proxy.MethodInterceptor
<<interface>>AopProxy
<<interface>>PointCutAdvisor
+getPointCutResolver():PointCut
JDKDynamicProxy
- target:Object- advisors:List<Advisor> - beanFactory:BeanFactory
CglibDynamicProxy
- enhancer:Enhancer- target:Object- advisors:List<Advisor> - beanFactory:BeanFactory - beanName:String
AopPostProcessor
BeanPostProcessor
<<interface>>Advisor
+ getAdviceBeanName():String+ getExpression():String
<<interface>>Aware
AdvisorProxyCreator
- advisors:List<Advisor>
<<interface>>BeanFactoryAware
setBeanFactory(BeanFactory beanFactory)
<<interface>>Advice
RegexMatchAdvisor
- adviceBeanName;String- expression:String- pointcutParser:PointCut
+ getAdviceBeanName():String+ getExpression():String+getPointCutResolver():PointCut
<<interface>>AspectJMatchExpression
0 条评论
下一页