摘要: 以下配置来自尚硅谷.. 常用如何配置 3、模式: 启动器只用来做依赖导入; 专门来写一个自动配置模块; 启动器依赖自动配置;别人只需要引入启动器(starter) mybatis-spring-boot-starter;自定义启动器名-spring-boot-starter 步骤: 1)、启动器模块 阅读全文
posted @ 2018-07-19 23:32 1161588342 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 配置在META-INF/spring.factories 有几个主要的类 ApplicationContextInitializer 创建SpringAplication SpringApplicationRunListener 启动的run流程 ApplicationRunner CommandL 阅读全文
posted @ 2018-07-19 23:21 1161588342 阅读(270) 评论(0) 推荐(0) 编辑