Spring boot启动加载嵌入的tomcat过程

Spring boot启动加载嵌入的tomcat过程: 1、执行SpringApplication.run方法。进入这个方法,会有一个refreshContext(context);方法。其中的context是spring boot自定义的一个类EmbeddedWebApplicationContext继承了AbstractApplicationContext(); 重写封装了其中的onRefre
相关文章
相关标签/搜索