onApplicationEvent() — spring-boot Function Reference
Architecture documentation for the onApplicationEvent() function in ApplicationAvailabilityBean.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c13917f4_29d0_ce72_3b96_21387f376054["onApplicationEvent()"] b02e35b8_feb3_8fcd_d379_f741162dbaac["getStateType()"] c13917f4_29d0_ce72_3b96_21387f376054 -->|calls| b02e35b8_feb3_8fcd_d379_f741162dbaac e1cf928e_dc58_c848_1200_3ebd932f159b["getState()"] c13917f4_29d0_ce72_3b96_21387f376054 -->|calls| e1cf928e_dc58_c848_1200_3ebd932f159b afd0eb4e_fa3e_82d6_f986_347fef1148c6["getLogMessage()"] c13917f4_29d0_ce72_3b96_21387f376054 -->|calls| afd0eb4e_fa3e_82d6_f986_347fef1148c6 style c13917f4_29d0_ce72_3b96_21387f376054 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/availability/ApplicationAvailabilityBean.java lines 74–81
@Override
public void onApplicationEvent(AvailabilityChangeEvent<?> event) {
Class<? extends AvailabilityState> type = getStateType(event.getState());
if (this.logger.isDebugEnabled()) {
this.logger.debug(getLogMessage(type, event));
}
this.events.put(type, event);
}
Domain
Subdomains
Calls
- getLogMessage()
- getState()
- getStateType()
Source
Frequently Asked Questions
What does onApplicationEvent() do?
onApplicationEvent() is a function in the spring-boot codebase.
What does onApplicationEvent() call?
onApplicationEvent() calls 3 function(s): getLogMessage, getState, getStateType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free