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

configureEnvironment() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  7454fd0c_15bf_c5e0_c269_c1fe65124b65["configureEnvironment()"]
  be6f5284_4891_57c6_72a4_fd3fc0c8c35a["prepareEnvironment()"]
  be6f5284_4891_57c6_72a4_fd3fc0c8c35a -->|calls| 7454fd0c_15bf_c5e0_c269_c1fe65124b65
  c99a7694_2bf1_0f81_8483_d81c9a5c7092["ApplicationConversionService()"]
  7454fd0c_15bf_c5e0_c269_c1fe65124b65 -->|calls| c99a7694_2bf1_0f81_8483_d81c9a5c7092
  536f59d2_fd82_d804_22b3_70a9d8ad8d3e["configurePropertySources()"]
  7454fd0c_15bf_c5e0_c269_c1fe65124b65 -->|calls| 536f59d2_fd82_d804_22b3_70a9d8ad8d3e
  f683ac2e_0646_0ecf_e791_b10c41517139["configureProfiles()"]
  7454fd0c_15bf_c5e0_c269_c1fe65124b65 -->|calls| f683ac2e_0646_0ecf_e791_b10c41517139
  style 7454fd0c_15bf_c5e0_c269_c1fe65124b65 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 498–504

	protected void configureEnvironment(ConfigurableEnvironment environment, String[] args) {
		if (this.addConversionService) {
			environment.setConversionService(new ApplicationConversionService());
		}
		configurePropertySources(environment, args);
		configureProfiles(environment, args);
	}

Domain

Subdomains

Frequently Asked Questions

What does configureEnvironment() do?
configureEnvironment() is a function in the spring-boot codebase.
What does configureEnvironment() call?
configureEnvironment() calls 3 function(s): ApplicationConversionService, configureProfiles, configurePropertySources.
What calls configureEnvironment()?
configureEnvironment() is called by 1 function(s): prepareEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free