spring boot 源码解析--分为3个部分
1.SpringApplication实例化及run方法解析
2.Spring boot 自动装配
3.Spring boot actuator 解析
其中涉及了类加载机制,spring cache,spring mvc,spring core等内容,全方面的为您解惑:
1. 使用过spring boot,spring cloud 的人都会在application.properties中配置如spring.datasource.url 的配置,但是其是如何生效的,很多人就不知道了
2. 使用spring-boot-starter-actuator的都会配置如下内容endpoints.shutdown.enabled=true 来实现优雅关闭,但原因为何,很多人就不知道了
3. 加入spring-boot-starter-web后,不需任何操作,1个web程序就配置好了,没有了一堆配置,其背后的密码,很多人都不知道
....