![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 53
weixin_35323757
这个作者很懒,什么都没留下…
展开
-
SpringBoot启动流程详解Run方法之事件监听(二)
1.Run方法代码如下 StopWatch stopWatch = new StopWatch(); stopWatch.start(); //创建DefualtBootstrapContext对象 DefaultBootstrapContext bootstrapContext = this.createBootstrapContext(); ConfigurableApplicationContext context = null;原创 2021-02-23 15:37:09 · 179 阅读 · 1 评论 -
SpringBoot启动流程详解之SpringApplication对象构建(一)
1.第一步创建SpringApplication对象 public SpringApplication(ResourceLoader resourceLoader, Class... primarySources) { //一系列属性设置初始值 this.sources = new LinkedHashSet(); this.bannerMode = Mode.CONSOLE; this.logStartupInfo = true; thi原创 2021-02-23 11:34:29 · 173 阅读 · 1 评论