publish() — spring-boot Function Reference
Architecture documentation for the publish() function in AvailabilityChangeEvent.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 96588e8b_404d_afc5_adad_e793c651a610["publish()"] f7b8629b_707e_beaa_ad5c_cf57beb5cd79["started()"] f7b8629b_707e_beaa_ad5c_cf57beb5cd79 -->|calls| 96588e8b_404d_afc5_adad_e793c651a610 36589496_bcc6_b117_1a1b_4b64d073520a["ready()"] 36589496_bcc6_b117_1a1b_4b64d073520a -->|calls| 96588e8b_404d_afc5_adad_e793c651a610 ae5c3187_e1d6_9460_1a99_e092c08c68ef["whenLazyInitializationIsEnabledApplicationAvailabilityBeanShouldStillReceiveAvailabilityChangeEvents()"] ae5c3187_e1d6_9460_1a99_e092c08c68ef -->|calls| 96588e8b_404d_afc5_adad_e793c651a610 style 96588e8b_404d_afc5_adad_e793c651a610 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/availability/AvailabilityChangeEvent.java lines 76–79
public static <S extends AvailabilityState> void publish(ApplicationContext context, S state) {
Assert.notNull(context, "'context' must not be null");
publish(context, context, state);
}
Domain
Subdomains
Called By
- ready()
- started()
- whenLazyInitializationIsEnabledApplicationAvailabilityBeanShouldStillReceiveAvailabilityChangeEvents()
Source
Frequently Asked Questions
What does publish() do?
publish() is a function in the spring-boot codebase.
What calls publish()?
publish() is called by 3 function(s): ready, started, whenLazyInitializationIsEnabledApplicationAvailabilityBeanShouldStillReceiveAvailabilityChangeEvents.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free