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

createApplicationContext() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  34567c25_8c63_c420_c4a7_78a5eb5c8282["createApplicationContext()"]
  89cfa04a_3922_680e_945d_5b4338252cc7["run()"]
  89cfa04a_3922_680e_945d_5b4338252cc7 -->|calls| 34567c25_8c63_c420_c4a7_78a5eb5c8282
  ed562ac1_4cc1_2b33_9c91_d96b789b8686["create()"]
  34567c25_8c63_c420_c4a7_78a5eb5c8282 -->|calls| ed562ac1_4cc1_2b33_9c91_d96b789b8686
  316d5f0a_4aac_b5a4_3995_3a097e9a7714["getWebApplicationType()"]
  34567c25_8c63_c420_c4a7_78a5eb5c8282 -->|calls| 316d5f0a_4aac_b5a4_3995_3a097e9a7714
  style 34567c25_8c63_c420_c4a7_78a5eb5c8282 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 579–584

	protected ConfigurableApplicationContext createApplicationContext() {
		ConfigurableApplicationContext context = this.applicationContextFactory
			.create(this.properties.getWebApplicationType());
		Assert.state(context != null, "ApplicationContextFactory created null context");
		return context;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free