Home / Function/ main() — spring-boot Function Reference

main() — spring-boot Function Reference

Architecture documentation for the main() function in SpringApplicationTests.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  081b24ea_02ef_faef_58aa_264e7347eda8["main()"]
  8d8aadad_91e9_831d_52fc_43c286ff9af8["main()"]
  8d8aadad_91e9_831d_52fc_43c286ff9af8 -->|calls| 081b24ea_02ef_faef_58aa_264e7347eda8
  8d8aadad_91e9_831d_52fc_43c286ff9af8["main()"]
  081b24ea_02ef_faef_58aa_264e7347eda8 -->|calls| 8d8aadad_91e9_831d_52fc_43c286ff9af8
  3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"]
  081b24ea_02ef_faef_58aa_264e7347eda8 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b
  style 081b24ea_02ef_faef_58aa_264e7347eda8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 2096–2100

		static void main(String[] args) {
			SpringApplication application = new SpringApplication(ExampleConfig.class);
			application.setWebApplicationType(WebApplicationType.NONE);
			application.run(args);
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does main() do?
main() is a function in the spring-boot codebase.
What does main() call?
main() calls 2 function(s): main, run.
What calls main()?
main() is called by 1 function(s): main.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free