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

getApplicationContext() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07["getApplicationContext()"]
  389aedf5_23cd_5dfe_aa12_fffeee5c2f2b["contextRefreshedEventListener()"]
  389aedf5_23cd_5dfe_aa12_fffeee5c2f2b -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  a19a410e_ff31_eb14_7886_265ea3d9f4f4["addBootstrapRegistryInitializerCanRegisterBeans()"]
  a19a410e_ff31_eb14_7886_265ea3d9f4f4 -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  3d3ca246_02c3_5efc_8fbc_ab124eec2c0b["deregistersShutdownHookForFailedApplicationContext()"]
  3d3ca246_02c3_5efc_8fbc_ab124eec2c0b -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  f2cb6f7a_667c_db66_9290_d949463566fc["withHookWhenHookThrowsAbandonedRunExceptionAbandonsRun()"]
  f2cb6f7a_667c_db66_9290_d949463566fc -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  4ad23eb5_1dc0_8725_8eff_b8747aab637f["fromRunsWithAdditionalSources()"]
  4ad23eb5_1dc0_8725_8eff_b8747aab637f -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  e4e482db_13b4_b14d_d8ae_575a2a285876["fromReturnsApplicationContext()"]
  e4e482db_13b4_b14d_d8ae_575a2a285876 -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  3cdf415a_7367_9a99_1d00_902af18b9eec["fromWithMultipleApplicationsOnlyAppliesAdditionalSourcesOnce()"]
  3cdf415a_7367_9a99_1d00_902af18b9eec -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  79b6b4cb_b5fb_3c6a_c195_e5becbb8fd42["fromAppliesProfiles()"]
  79b6b4cb_b5fb_3c6a_c195_e5becbb8fd42 -->|calls| ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07
  style ff7e5b91_a4f4_e0a5_d92b_ae7a506efd07 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 1590–1592

		ConfigurableApplicationContext getApplicationContext() {
			return this.applicationContext;
		}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getApplicationContext() do?
getApplicationContext() is a function in the spring-boot codebase.
What calls getApplicationContext()?
getApplicationContext() is called by 8 function(s): addBootstrapRegistryInitializerCanRegisterBeans, contextRefreshedEventListener, deregistersShutdownHookForFailedApplicationContext, fromAppliesProfiles, fromReturnsApplicationContext, fromRunsWithAdditionalSources, fromWithMultipleApplicationsOnlyAppliesAdditionalSourcesOnce, withHookWhenHookThrowsAbandonedRunExceptionAbandonsRun.

Analyze Your Own Codebase

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

Try Supermodel Free