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

SpringApplication() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 5 called by 35

Entity Profile

Dependency Diagram

graph TD
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  89cfa04a_3922_680e_945d_5b4338252cc7["run()"]
  89cfa04a_3922_680e_945d_5b4338252cc7 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  bba72155_f236_5da5_6e19_be4d5ccc7a24["createSpringApplication()"]
  bba72155_f236_5da5_6e19_be4d5ccc7a24 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  0b65421b_309c_7ee2_a809_ee2ea4c4c274["validateReadyFlag()"]
  0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  ab5a607f_ef61_b488_f6b7_a391f5b5f772["eventsFromOtherContextsAreIgnored()"]
  ab5a607f_ef61_b488_f6b7_a391f5b5f772 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  ca1eb37d_8604_c655_f4d1_7183b9dbda4d["environmentIsExposed()"]
  ca1eb37d_8604_c655_f4d1_7183b9dbda4d -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  c906105b_805c_5adf_2dec_9f17acc6a33d["whenEnvironmentContainsServerPortsPropertySourceEmbeddedWebApplicationIsDetected()"]
  c906105b_805c_5adf_2dec_9f17acc6a33d -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  8889ba9d_fde7_7c93_c008_3a9a1d97e0bc["shutdownApp()"]
  8889ba9d_fde7_7c93_c008_3a9a1d97e0bc -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  12663191_9242_dd41_3687_f6a0987d8120["withNoEnvironment()"]
  12663191_9242_dd41_3687_f6a0987d8120 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  27d99920_7a1d_7526_b8dc_5348a81eb7ee["createEnvironmentPreparedEvent()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  03f72db9_73c0_ad87_732c_d7136faafb06["createPreparedEvent()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  e51019a0_f523_a128_a340_dc9ed5e3fc65["createReadyEvent()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  85196500_0cb2_5ed4_5db4_1d82118c940c["setup()"]
  85196500_0cb2_5ed4_5db4_1d82118c940c -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  e77d7e1f_4b67_193a_b79e_c8543c727e39["setup()"]
  e77d7e1f_4b67_193a_b79e_c8543c727e39 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  b800c066_64f8_85a0_6f05_5eaf3169f24a["setup()"]
  b800c066_64f8_85a0_6f05_5eaf3169f24a -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 259–261

	public SpringApplication(Class<?>... primarySources) {
		this(null, primarySources);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does SpringApplication() do?
SpringApplication() is a function in the spring-boot codebase.
What does SpringApplication() call?
SpringApplication() calls 5 function(s): deduceMainApplicationClass, getSpringFactoriesInstances, setInitializers, setListeners, setWebApplicationType.
What calls SpringApplication()?
SpringApplication() is called by 35 function(s): aotContributionRegistersActiveProfiles, aotEnvironmentPostProcessorShouldBeAppliedFirst, base64ResourceResolves, checkOrderOfInitializer, createEnvironmentPreparedEvent, createPreparedEvent, createReadyEvent, createSpringApplication, and 27 more.

Analyze Your Own Codebase

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

Try Supermodel Free