applicationFailedEventCleansUpLoggingSystem() — spring-boot Function Reference
Architecture documentation for the applicationFailedEventCleansUpLoggingSystem() function in LoggingApplicationListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 1cf169fc_9782_bdb1_fbf9_9e2cce301560["applicationFailedEventCleansUpLoggingSystem()"] b21aabff_7677_28df_125a_1805aeda834e["multicastEvent()"] 1cf169fc_9782_bdb1_fbf9_9e2cce301560 -->|calls| b21aabff_7677_28df_125a_1805aeda834e be3bab95_2d77_cc83_e74d_439204d631d0["ApplicationStartingEvent()"] 1cf169fc_9782_bdb1_fbf9_9e2cce301560 -->|calls| be3bab95_2d77_cc83_e74d_439204d631d0 ac439095_7410_bf40_2e58_979d7110817a["ApplicationFailedEvent()"] 1cf169fc_9782_bdb1_fbf9_9e2cce301560 -->|calls| ac439095_7410_bf40_2e58_979d7110817a 5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"] 1cf169fc_9782_bdb1_fbf9_9e2cce301560 -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2 style 1cf169fc_9782_bdb1_fbf9_9e2cce301560 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 536–547
@Test
void applicationFailedEventCleansUpLoggingSystem() {
System.setProperty(LoggingSystem.SYSTEM_PROPERTY, TestCleanupLoggingSystem.class.getName());
multicastEvent(new ApplicationStartingEvent(this.bootstrapContext, this.springApplication, new String[0]));
TestCleanupLoggingSystem loggingSystem = (TestCleanupLoggingSystem) ReflectionTestUtils.getField(this.listener,
"loggingSystem");
assertThat(loggingSystem).isNotNull();
assertThat(loggingSystem.cleanedUp).isFalse();
multicastEvent(new ApplicationFailedEvent(this.springApplication, new String[0],
new GenericApplicationContext(), new Exception()));
assertThat(loggingSystem.cleanedUp).isTrue();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does applicationFailedEventCleansUpLoggingSystem() do?
applicationFailedEventCleansUpLoggingSystem() is a function in the spring-boot codebase.
What does applicationFailedEventCleansUpLoggingSystem() call?
applicationFailedEventCleansUpLoggingSystem() calls 4 function(s): ApplicationFailedEvent, ApplicationStartingEvent, getName, multicastEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free