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

createReadyEvent() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  e51019a0_f523_a128_a340_dc9ed5e3fc65["createReadyEvent()"]
  fa9888ca_58f0_e78f_c504_97b1c1735291["tryReadyEvent()"]
  fa9888ca_58f0_e78f_c504_97b1c1735291 -->|calls| e51019a0_f523_a128_a340_dc9ed5e3fc65
  7a8fcae6_2160_01ad_2804_343dc70583e2["createEnvironment()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 7a8fcae6_2160_01ad_2804_343dc70583e2
  4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7["getEnvironment()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7
  24be1855_9af1_f675_b5d8_3e3a39c99fa3["ApplicationReadyEvent()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 24be1855_9af1_f675_b5d8_3e3a39c99fa3
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  e51019a0_f523_a128_a340_dc9ed5e3fc65 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3
  style e51019a0_f523_a128_a340_dc9ed5e3fc65 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/ApplicationPidFileWriterTests.java lines 187–192

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

Domain

Subdomains

Called By

  • tryReadyEvent()

Frequently Asked Questions

What does createReadyEvent() do?
createReadyEvent() is a function in the spring-boot codebase.
What does createReadyEvent() call?
createReadyEvent() calls 4 function(s): ApplicationReadyEvent, SpringApplication, createEnvironment, getEnvironment.
What calls createReadyEvent()?
createReadyEvent() is called by 1 function(s): tryReadyEvent.

Analyze Your Own Codebase

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

Try Supermodel Free