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

createEnvironmentPreparedEvent() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  27d99920_7a1d_7526_b8dc_5348a81eb7ee["createEnvironmentPreparedEvent()"]
  a9ed1649_15c0_2685_da8a_5c998241e679["tryEnvironmentPreparedEvent()"]
  a9ed1649_15c0_2685_da8a_5c998241e679 -->|calls| 27d99920_7a1d_7526_b8dc_5348a81eb7ee
  7a8fcae6_2160_01ad_2804_343dc70583e2["createEnvironment()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  9300cf73_8796_db4b_f426_7df148231695["ApplicationEnvironmentPreparedEvent()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee -->|calls| 9300cf73_8796_db4b_f426_7df148231695
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  27d99920_7a1d_7526_b8dc_5348a81eb7ee -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style 27d99920_7a1d_7526_b8dc_5348a81eb7ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/ApplicationPidFileWriterTests.java lines 174–178

	private SpringApplicationEvent createEnvironmentPreparedEvent(String propName, String propValue) {
		ConfigurableEnvironment environment = createEnvironment(propName, propValue);
		return new ApplicationEnvironmentPreparedEvent(new DefaultBootstrapContext(), new SpringApplication(),
				new String[] {}, environment);
	}

Domain

Subdomains

Called By

  • tryEnvironmentPreparedEvent()

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free