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

createPreparedEvent() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 4 called by 2

Entity Profile

Dependency Diagram

graph TD
  03f72db9_73c0_ad87_732c_d7136faafb06["createPreparedEvent()"]
  a9c8c794_6cc0_13d1_db71_a1de42afd589["overridePidFileWithSpring()"]
  a9c8c794_6cc0_13d1_db71_a1de42afd589 -->|calls| 03f72db9_73c0_ad87_732c_d7136faafb06
  d30cbcfe_171d_63c0_38e7_2af5dbc9a3cf["throwWhenPidFileIsReadOnlyWithSpring()"]
  d30cbcfe_171d_63c0_38e7_2af5dbc9a3cf -->|calls| 03f72db9_73c0_ad87_732c_d7136faafb06
  7a8fcae6_2160_01ad_2804_343dc70583e2["createEnvironment()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7["getEnvironment()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  c972cd03_a5b3_1de0_1f2c_fe5ae8a29fa9["ApplicationPreparedEvent()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| c972cd03_a5b3_1de0_1f2c_fe5ae8a29fa9
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  03f72db9_73c0_ad87_732c_d7136faafb06 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style 03f72db9_73c0_ad87_732c_d7136faafb06 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/ApplicationPidFileWriterTests.java lines 180–185

	private SpringApplicationEvent createPreparedEvent(String propName, String propValue) {
		ConfigurableEnvironment environment = createEnvironment(propName, propValue);
		ConfigurableApplicationContext context = mock(ConfigurableApplicationContext.class);
		given(context.getEnvironment()).willReturn(environment);
		return new ApplicationPreparedEvent(new SpringApplication(), new String[] {}, context);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does createPreparedEvent() do?
createPreparedEvent() is a function in the spring-boot codebase.
What does createPreparedEvent() call?
createPreparedEvent() calls 4 function(s): ApplicationPreparedEvent, SpringApplication, createEnvironment, getEnvironment.
What calls createPreparedEvent()?
createPreparedEvent() is called by 2 function(s): overridePidFileWithSpring, throwWhenPidFileIsReadOnlyWithSpring.

Analyze Your Own Codebase

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

Try Supermodel Free