Spring boot 源码分析步骤 先收录 没有经过实操

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程序就配置好了,没有了一堆配置,其背后的密码,很多人都不知道

....

 

课程大纲如下:

1. Spring Boot介绍,源码阅读环境搭建,插件安装 

2. SpringApplication初始化 

3. SpringApplication run方法解析(1)--前3步 

4. SpringApplication run方法解析(2)—第4步 

5. SpringApplication run方法解析(3)—第5步 

6. SpringApplication run方法解析(3)—第6步 

7. SpringApplication run方法解析(3)—第7步 

8. SpringApplication run方法解析(3)—第8步 

9. SpringApplication run方法解析(3)—第9步 

10. SpringApplication run方法解析(3)—第10步 

11. ConfigurationClassPostProcessor类加载解析 

12. servlet容器的建立 

13. @ConfigurationProperties是如何生效的 

14. ImportSelector及默认错误页面

15. spring mvc零配置 

16. spring boot外置tomcat部署揭秘 

17. mvc自动化配置揭秘 

18. WebMvcAutoConfiguration自动化配置揭秘 

19. @Conditional注解详解 

20. spring boot aop自动化配置 

21. spring boot transaction自动化配置 

22. spring boot jdbc自动化配置 

23. actuator使用及EndPoint解析 

24. HealthEndpoint解析 

25. DataSourcePoolMetadata与DataSourcePoolMetadataProvider 

26. Liquibase使用及LiquibaseEndpoint解析 

27. JavaLoggingSystem及LoggingSystem生命周期详解 

28. Log4J2LoggingSystem 

29. LogbackLoggingSystem 

30. LoggersEndpoint 

31. AuthenticationAuditListener,AuthorizationAuditListener 

....

posted on 2018-03-06 18:34  小丰残月  阅读(293)  评论(0编辑  收藏  举报

导航