Spring Boot source code parsing, springboot source code
Spring boot source code analysis-divided into three parts
1. SpringApplication instantiation and run method Parsing
2. Automatic Spring boot assembly
3. Spring boot actuator Parsing
It involves the class loading mechanism, spring cache, spring mvc, spring core, and so on. You can fully understand the problem:
1. If spring boot is used, spring cloud users will configure spring. datasource. url in application. properties. However, many people do not know how it works.
2. When spring-boot-starter-actuator is used, the following endpoints. shutdown. enabled = true will be configured to implement elegant shutdown. But many people do not know why.
3. After adding spring-boot-starter-web, you do not need to perform any operations. A web program is configured. Without a bunch of configurations, many people do not know the password behind it.
....
The course outline is as follows:
1. Spring Boot introduction, build the source code reading environment, and install plug-ins
2. SpringApplication Initialization
3. SpringApplication run method parsing (1) -- first 3 steps
4. SpringApplication run method parsing (2)-Step 2
5. SpringApplication run method parsing (3)-Step 2
6. SpringApplication run method parsing (3)-Step 2
7. SpringApplication run method parsing (3)-Step 2
8. SpringApplication run method parsing (3)-Step 2
9. SpringApplication run method parsing (3)-Step 2
10. SpringApplication run method parsing (3)-Step 2
11. ConfigurationClassPostProcessor class loading and parsing
12. servlet container Creation
13. @ ConfigurationProperties: How does it take effect?
14. ImportSelector and default error page
15. spring mvc Zero Configuration
16. Secrets of spring boot external tomcat deployment
17. mvc automated configuration secrets
18. WebMvcAutoConfiguration automated configuration secrets
19. @ Conditional
20. spring boot aop automatic configuration
21. spring boot transaction automatic configuration
22. spring boot jdbc automated Configuration
23. actuator usage and EndPoint resolution
24. HealthEndpoint resolution
25. performancepoolmetadata and performancepoolmetadataprovider
26. Use Liquibase and resolve LiquibaseEndpoint
27. JavaLoggingSystem and LoggingSystem lifecycle details
28. Log4J2LoggingSystem
29. LogbackLoggingSystem
30. LoggersEndpoint
31. AuthenticationAuditListener, AuthorizationAuditListener
....
The course content is constantly increasing, and there is no end to parsing the source code. This course will be helpful to you more or less.
Course address: http://www.roncoo.com/course/view/eecd5fa85d6b4750b13e4fc3e018eef3