随笔分类 - SpringBoot源码分析
摘要:前言 前面我们分析到SpringBoot在启动的过程中,执行到AbstractApplicationContext的refresh方法时,执行到了onRefresh() 过程的时候,开始创建WebServer,在此过程中,加载类tomcat服务器和一些特殊类型的Bean:Servlet、Filter
阅读全文
摘要:参考代码 SpringBoot启动过程 @SpringBootApplication @ImportResource(locations = {"dubbo-provider.xml"}) public class UserProviderBootstrap { public static void
阅读全文
摘要:在执行refreshContext刷新上下文的过程中,首次执行了对BeanFactoryPostProcessor后置处理器的执行,此时BeanFactory容器中有两个bean工厂后置处理器: ConfigurationWarningsApplicationContextInitializer.C
阅读全文

浙公网安备 33010602011771号