摘要:
调试环境:https://gitee.com/jhxxb/MySpringBoot/tree/master/Spring-Base/src/test/java 源码 从 @EnableAspectJAutoProxy 注解开始 @Target(ElementType.TYPE) @Retention 阅读全文
posted @ 2020-12-14 15:37
江湖小小白
阅读(758)
评论(0)
推荐(0)
摘要:
Spring Aop 代理创建方式:https://www.cnblogs.com/jhxxb/p/14097866.html 最后都会走到 ProxyCreatorSupport#createAopProxy 中,拿到 AopProxy,然后调用 getProxy 方法获取代理对象 public 阅读全文
posted @ 2020-12-14 15:32
江湖小小白
阅读(1318)
评论(0)
推荐(0)
摘要:
这里是指 Spring 应用层的方式,不是指底层实现的方式。 底层实现方式熟悉的有两种:JDK 动态代理和 CGLIB 代理:https://www.cnblogs.com/jhxxb/p/10520345.html Spring 应用层提供了多种代理创建方式:ProxyFactoryBean、Pr 阅读全文
posted @ 2020-12-14 15:31
江湖小小白
阅读(747)
评论(0)
推荐(0)

浙公网安备 33010602011771号