AOP 图
2016-01-20 15:28
302 查看
还是依照惯例,给一张牛逼的高清无码思维导图,总结一下以上各个知识点:
再来一张表格,总结一下各类增强类型所对应的解决方案:
最后给一张 UML 类图描述一下 Spring AOP 的整体架构:
再来一张表格,总结一下各类增强类型所对应的解决方案:
增强类型 | 基于 AOP 接口 | 基于 @Aspect | 基于 <aop:config> |
Before Advice(前置增强) | MethodBeforeAdvice | @Before | <aop:before> |
AfterAdvice(后置增强) | AfterReturningAdvice | @After | <aop:after> |
AroundAdvice(环绕增强) | MethodInterceptor | @Around | <aop:around> |
ThrowsAdvice(抛出增强 | ThrowsAdvice | @AfterThrowing | <aop:after-throwing> |
IntroductionAdvice(引入增强) | DelegatingIntroductionInterceptor | @DeclareParents | <aop:declare-parents> |
相关文章推荐
- HBase 常用Shell命令
- windows开发的python移植到linux的问题
- 如何修改织梦的提示页面
- hadoop、hbase、hive、zookeeper版本对应关系
- Linux下查看文件和文件夹大小
- HDU 1500 Chopsticks(动态规划)
- iOS应用架构谈(一):架构设计的方法论
- 基于maven的web项目在Eclipse中使用Tomcat调试
- Linux 下安装 nginx-1.9.4.tar.gz
- linux 卸载多余的jdk
- nginx如何处理一个请求
- hadoop-运行hadoop jar hadoop-examples-1.2.1.jar wordcount /wc/input/ /wc/output/
- OpenSSH客户端漏洞:CVE-2016-0777和CVE-2016-0778
- apache域名重定向301跳转 .htaccess的写法
- Linux系统中的信号量(semphore)与互斥体(mutex)
- centos 6.5 升级php到5.6.17版本
- Linux查找和替换目录下所有字符串【转】
- CentOS开启mcrypt模块
- ANALYSIS AND EXPLOITATION OF A LINUX KERNEL VULNERABILITY (CVE-2016-0728)
- nginx log打印自定义头