随笔分类 -  SpringBoot源码分析

摘要:前言 前面我们分析到SpringBoot在启动的过程中,执行到AbstractApplicationContext的refresh方法时,执行到了onRefresh() 过程的时候,开始创建WebServer,在此过程中,加载类tomcat服务器和一些特殊类型的Bean:Servlet、Filter 阅读全文
posted @ 2021-12-28 02:21 南宫煌_慧 阅读(227) 评论(0) 推荐(0)
摘要:参考代码 SpringBoot启动过程 @SpringBootApplication @ImportResource(locations = {"dubbo-provider.xml"}) public class UserProviderBootstrap { public static void 阅读全文
posted @ 2021-12-22 23:09 南宫煌_慧 阅读(597) 评论(0) 推荐(0)
摘要:在执行refreshContext刷新上下文的过程中,首次执行了对BeanFactoryPostProcessor后置处理器的执行,此时BeanFactory容器中有两个bean工厂后置处理器: ConfigurationWarningsApplicationContextInitializer.C 阅读全文
posted @ 2021-12-19 18:52 南宫煌_慧 阅读(770) 评论(0) 推荐(0)