run() — spring-boot Function Reference
Architecture documentation for the run() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2f52a2b0_73b0_9048_618c_5bed4f31ac43["run()"] d75e8832_9bb6_96a3_67ef_bf5b1fd57510["loadSources()"] d75e8832_9bb6_96a3_67ef_bf5b1fd57510 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 8b837e79_83ba_b93a_b680_4138862f9c75["wildcardSources()"] 8b837e79_83ba_b93a_b680_4138862f9c75 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 d46a33a5_ebf5_87d7_d2bc_dd38dc85f8fe["runComponents()"] d46a33a5_ebf5_87d7_d2bc_dd38dc85f8fe -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 bdff67aa_55f1_2df4_5b31_ce1bd434d17f["exit()"] bdff67aa_55f1_2df4_5b31_ce1bd434d17f -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 7d72837c_c923_3889_1c5f_5c4e2425fc9f["exitWithExplicitCode()"] 7d72837c_c923_3889_1c5f_5c4e2425fc9f -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 9b409b96_c4f2_ff63_bbdb_a7e50a940269["defaultCommandLineArgs()"] 9b409b96_c4f2_ff63_bbdb_a7e50a940269 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 6783843b_836b_ffe1_7b56_c6df6bf9d1bc["defaultPropertiesShouldBeMerged()"] 6783843b_836b_ffe1_7b56_c6df6bf9d1bc -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 6d9654ae_cdaf_db25_b4c7_bffcc1061292["commandLineArgsApplyToSpringApplication()"] 6d9654ae_cdaf_db25_b4c7_bffcc1061292 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 ae5faf95_7421_6542_0efa_c1ef232e4866["registerShutdownHook()"] ae5faf95_7421_6542_0efa_c1ef232e4866 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 19a6357a_e45d_57ff_10ee_32ca0ef05660["registerShutdownHookOff()"] 19a6357a_e45d_57ff_10ee_32ca0ef05660 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"] 2f52a2b0_73b0_9048_618c_5bed4f31ac43 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b style 2f52a2b0_73b0_9048_618c_5bed4f31ac43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 835–839
@Test
void run() {
this.context = SpringApplication.run(ExampleConfig.class);
assertThat(this.context).isNotNull();
}
Domain
Subdomains
Calls
Called By
- commandLineArgsApplyToSpringApplication()
- defaultCommandLineArgs()
- defaultPropertiesShouldBeMerged()
- exit()
- exitWithExplicitCode()
- loadSources()
- registerShutdownHook()
- registerShutdownHookOff()
- runComponents()
- wildcardSources()
Source
Frequently Asked Questions
What does run() do?
run() is a function in the spring-boot codebase.
What does run() call?
run() calls 1 function(s): run.
What calls run()?
run() is called by 10 function(s): commandLineArgsApplyToSpringApplication, defaultCommandLineArgs, defaultPropertiesShouldBeMerged, exit, exitWithExplicitCode, loadSources, registerShutdownHook, registerShutdownHookOff, and 2 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free