![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AOP
theLuckyLong
这个作者很懒,什么都没留下…
展开
-
Spring学习--通过AOP的方式实现声明式事务管理
写在前面 在Spring整合Myabatis原创 2020-12-17 20:43:20 · 195 阅读 · 0 评论 -
Spring学习--AOP的实现
之前我谈到过动态代理:Spring学习-动态代理 动态代理里面很好地体现了AOP的思想,即面向切面编程:在不修改代码影响原有业务逻辑时,新增其他功能。 那么,在Spring中,如何实现AOP呢? 方法一:使用Spring的API接口 首先,需要新导入一个依赖: <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId>原创 2020-12-14 11:48:53 · 152 阅读 · 1 评论