摘要:
Spring源码版本:4.3.23.RELEASE 一、加载过程概览 Spring容器加载过程可以在org.springframework.context.support.AbstractApplicationContext#refresh方法看到总体过程,具体细节需要断点调试: 后续文章根据以上标 阅读全文
posted @ 2019-05-10 17:05
burthughes
阅读(192)
评论(0)
推荐(0)
摘要:
Spring源码版本:4.3.23.RELEASE 一、加载XML配置 通过XML配置创建Spring,创建入口是使用org.springframework.context.support.ClassPathXmlApplicationContext类,创建容器的代码如下: 1.1 如果bean没有 阅读全文
posted @ 2019-05-10 16:37
burthughes
阅读(477)
评论(0)
推荐(0)