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

getApplicationContext() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  231ec461_2955_6224_c613_7eccfcde366f["getApplicationContext()"]
  671e1691_b19e_81ae_0e17_60828a703d9c["getApplicationContext()"]
  671e1691_b19e_81ae_0e17_60828a703d9c -->|calls| 231ec461_2955_6224_c613_7eccfcde366f
  f5e930f2_9157_f197_1839_191f8e9d0f57["getApplicationContext()"]
  f5e930f2_9157_f197_1839_191f8e9d0f57 -->|calls| 231ec461_2955_6224_c613_7eccfcde366f
  97fa5b9e_b816_70bd_8828_99b67bc8530a["getApplicationContext()"]
  97fa5b9e_b816_70bd_8828_99b67bc8530a -->|calls| 231ec461_2955_6224_c613_7eccfcde366f
  e389d288_71be_3902_7894_aac7043aa63c["onApplicationPreparedEvent()"]
  e389d288_71be_3902_7894_aac7043aa63c -->|calls| 231ec461_2955_6224_c613_7eccfcde366f
  688a2394_0a3f_5c17_3263_c0cdcfee7c03["onContextClosedEvent()"]
  688a2394_0a3f_5c17_3263_c0cdcfee7c03 -->|calls| 231ec461_2955_6224_c613_7eccfcde366f
  671e1691_b19e_81ae_0e17_60828a703d9c["getApplicationContext()"]
  231ec461_2955_6224_c613_7eccfcde366f -->|calls| 671e1691_b19e_81ae_0e17_60828a703d9c
  style 231ec461_2955_6224_c613_7eccfcde366f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 1646–1648

		public @Nullable ConfigurableApplicationContext getApplicationContext() {
			return this.applicationContext;
		}

Domain

Subdomains

Frequently Asked Questions

What does getApplicationContext() do?
getApplicationContext() is a function in the spring-boot codebase.
What does getApplicationContext() call?
getApplicationContext() calls 1 function(s): getApplicationContext.
What calls getApplicationContext()?
getApplicationContext() is called by 5 function(s): getApplicationContext, getApplicationContext, getApplicationContext, onApplicationPreparedEvent, onContextClosedEvent.

Analyze Your Own Codebase

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

Try Supermodel Free