摘要: 一、执行原理: 每个Spring Boot项目都有一个主程序启动类,在主程序启动类中有一个启动项目的main()方法, 在该方法中通过执行SpringApplication.run()即可启动整个Spring Boot程序。 Q: 那么SpringApplication.run()方法到底是如何做到 阅读全文
posted @ 2020-12-20 17:37 邓晓晖 阅读(1746) 评论(0) 推荐(1) 编辑
摘要: 自定义Starter 1,SpringBoot starter机制 SpringBoot由众多Starter组成(一系列的自动化配置的starter插件),SpringBoot之所以流行,也是因为starter。 starter是SpringBoot非常重要的一部分,可以理解为一个可拔插式的插件,正 阅读全文
posted @ 2020-12-20 17:34 邓晓晖 阅读(421) 评论(0) 推荐(0) 编辑