摘要: 1. 实现类扩展的onRefresh|finishRefresh方法 1.1 SpringBoot应用启动时,判断当前时Servlet类型的Web应用时,创建的ApplicationContext是AnnotationConfigServletWebServerApplicationContext 阅读全文
posted @ 2021-07-02 17:10 521pingguo1314 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1.AbstractApplicationContext#refresh方法总览 @Override public void refresh() throws BeansException, IllegalStateException { synchronized (this.startupShut 阅读全文
posted @ 2021-07-02 17:08 521pingguo1314 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 1. 一个简单SpringBoot项目主启动类配置 @SpringBootApplication public class SpringBoot05MongodbApplication { public static void main(String[] args) { SpringApplicat 阅读全文
posted @ 2021-07-02 17:06 521pingguo1314 阅读(105) 评论(0) 推荐(0) 编辑