validateReadyFlag() — spring-boot Function Reference
Architecture documentation for the validateReadyFlag() function in SpringApplicationAdminMXBeanRegistrarTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0b65421b_309c_7ee2_a809_ee2ea4c4c274["validateReadyFlag()"] dc46a3f4_e969_eab8_a9b7_b18f895a1905["createObjectName()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| dc46a3f4_e969_eab8_a9b7_b18f895a1905 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 9fc735d3_f2de_a77c_c1a1_abf218992bd6["setWebApplicationType()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6 0323724f_be4b_210b_5a14_3dfe10f6563b["addListeners()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 0323724f_be4b_210b_5a14_3dfe10f6563b 0c7ed92a_3cad_4c23_092e_930235fc1a81["isApplicationReady()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 0c7ed92a_3cad_4c23_092e_930235fc1a81 f5ecfeee_2faa_bfff_05c7_ad8e17034d42["run()"] 0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| f5ecfeee_2faa_bfff_05c7_ad8e17034d42 style 0b65421b_309c_7ee2_a809_ee2ea4c4c274 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrarTests.java lines 72–87
@Test
void validateReadyFlag() {
final ObjectName objectName = createObjectName(OBJECT_NAME);
SpringApplication application = new SpringApplication(Config.class);
application.setWebApplicationType(WebApplicationType.NONE);
application.addListeners((ContextRefreshedEvent event) -> {
try {
assertThat(isApplicationReady(objectName)).isFalse();
}
catch (Exception ex) {
throw new IllegalStateException("Could not contact spring application admin bean", ex);
}
});
this.context = application.run();
assertThat(isApplicationReady(objectName)).isTrue();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does validateReadyFlag() do?
validateReadyFlag() is a function in the spring-boot codebase.
What does validateReadyFlag() call?
validateReadyFlag() calls 6 function(s): SpringApplication, addListeners, createObjectName, isApplicationReady, run, setWebApplicationType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free