![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
带你手写spring框架
享知
Java源码爱好者、熟悉分布式技术、中间件等技术.
格言: 故不积跬步,无已至千里;不积小流,无以成江海;
展开
-
第一章 手动写IOC
IOCIOC编写加载配置文件解析配置文件存放配置文档到容器这个高仿spring代码,类的命名和spring的一样,简化功能的实现。com.cn.spring.context.ClassPathXmlApplicationContext// 加载配置文件入口 public ClassPathXmlApplicationContext(String configLocation) ...原创 2019-10-11 17:37:05 · 95 阅读 · 0 评论 -
第二章 AOP
AOPJDK的实现Clib的实现源码设计AdvisedSupport …@Datapublic class AdvisedSupport { private TargetSource targetSource; private MethodInterceptor methodInterceptor; private MethodMatcher methodMatc...原创 2019-10-11 17:51:03 · 152 阅读 · 0 评论