NOTE
Spring Boot Startup Source Flow
Conceptual SpringApplication startup phases from environment preparation through context refresh, runners, and ready events.
This is a historical learning note and may contain outdated or incomplete understanding.
A durable SpringApplication startup model is:
- determine application/context type and bootstrap helpers;
- prepare environment/property sources/profiles;
- create and prepare the application context;
- load primary/configuration sources;
- refresh the Spring context, triggering bean-factory/post-processor/bean creation phases;
- invoke application runners/lifecycle callbacks;
- publish started/ready lifecycle signals.
Exact listener/bootstrap classes have changed across Boot generations. Pin source analysis to the exact Boot tag rather than treating an old call graph as permanent.