2017年3月16日

摘要: [TOC]## 简述 前面我们讲到了springboot的启动流程,可以说是加载的是SpringBoot的包,现在我们从我们写的Main方法SpringApplication.run(DemoApplication.class, args)开始解读。## 启动过程 ### 直接运行的Main函数是应用自己的Main函数 ```@SpringBootApplicationpubli... 阅读全文
posted @ 2017-03-16 16:01 沙与沫 阅读(12944) 评论(1) 推荐(0) 编辑
 
摘要: [TOC]## 简述> 自己写了一篇Springboot的启动流程,然后我发现还有http://blog.csdn.net/hengyunabc/article/details/50120001 这一篇写的比较好,我就继续的把加载里的细节给描述清楚。### 如何读取到资源文件? 我们从上一篇《SpringBoot应用启动流程》这一篇知道了LaunchedURLClassLoader这个类,但... 阅读全文
posted @ 2017-03-16 16:01 沙与沫 阅读(2036) 评论(0) 推荐(0) 编辑