doWithListeners() — spring-boot Function Reference
Architecture documentation for the doWithListeners() function in SpringApplicationRunListeners.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff["doWithListeners()"] fca0c724_a947_8838_8570_91bde413ff0b["starting()"] fca0c724_a947_8838_8570_91bde413ff0b -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 5e74593a_873c_ebfd_79ad_237f685fe72e["environmentPrepared()"] 5e74593a_873c_ebfd_79ad_237f685fe72e -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 096b1f10_ee51_b5d8_4c95_f954deea811c["contextPrepared()"] 096b1f10_ee51_b5d8_4c95_f954deea811c -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 82b27792_4ff0_e8cb_a802_9dc3644e2071["contextLoaded()"] 82b27792_4ff0_e8cb_a802_9dc3644e2071 -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 901005c4_520d_b16e_ed1b_c64528b3620c["started()"] 901005c4_520d_b16e_ed1b_c64528b3620c -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 16ce81c9_8bf9_0c60_c1dd_aa34f77d8cb3["ready()"] 16ce81c9_8bf9_0c60_c1dd_aa34f77d8cb3 -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff 2d25bf82_516b_478e_db24_f5006c85861c["failed()"] 2d25bf82_516b_478e_db24_f5006c85861c -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff style 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListeners.java lines 116–118
private void doWithListeners(String stepName, Consumer<SpringApplicationRunListener> listenerAction) {
doWithListeners(stepName, listenerAction, null);
}
Domain
Subdomains
Called By
- contextLoaded()
- contextPrepared()
- environmentPrepared()
- failed()
- ready()
- started()
- starting()
Source
Frequently Asked Questions
What does doWithListeners() do?
doWithListeners() is a function in the spring-boot codebase.
What calls doWithListeners()?
doWithListeners() is called by 7 function(s): contextLoaded, contextPrepared, environmentPrepared, failed, ready, started, starting.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free