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

createEnvironment() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  7a8fcae6_2160_01ad_2804_343dc70583e2["createEnvironment()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee["createEnvironmentPreparedEvent()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  03f72db9_73c0_ad87_732c_d7136faafb06["createPreparedEvent()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  e51019a0_f523_a128_a340_dc9ed5e3fc65["createReadyEvent()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  9c8b4aba_e850_2c3a_c9a9_18d0a1e29b6d["mockPropertySource()"]
  7a8fcae6_2160_01ad_2804_343dc70583e2 -->|calls| 9c8b4aba_e850_2c3a_c9a9_18d0a1e29b6d
  style 7a8fcae6_2160_01ad_2804_343dc70583e2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/ApplicationPidFileWriterTests.java lines 194–199

	private ConfigurableEnvironment createEnvironment(String propName, String propValue) {
		MockPropertySource propertySource = mockPropertySource(propName, propValue);
		ConfigurableEnvironment environment = new StandardEnvironment();
		environment.getPropertySources().addLast(propertySource);
		return environment;
	}

Domain

Subdomains

Calls

  • mockPropertySource()

Frequently Asked Questions

What does createEnvironment() do?
createEnvironment() is a function in the spring-boot codebase.
What does createEnvironment() call?
createEnvironment() calls 1 function(s): mockPropertySource.
What calls createEnvironment()?
createEnvironment() is called by 3 function(s): createEnvironmentPreparedEvent, createPreparedEvent, createReadyEvent.

Analyze Your Own Codebase

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

Try Supermodel Free