New posts for Spring and Hibernate

This commit is contained in:
2026-11-06 01:05:27 +05:30
parent 51913ad9d4
commit dc13293046
136 changed files with 5268 additions and 0 deletions
@@ -0,0 +1,22 @@
# SmartLifecycle: start in ascending phase, stop in descending phase, runners after all of it
--- startup ---
start low (phase -100) on main
start mid (phase 0) on main
start high (phase 100) on main
start slow (phase 200) on main
ApplicationStartedEvent
CommandLineRunner runs
ApplicationReadyEvent
manual.isAutoStartup()=false isRunning()=false (never started by the context)
--- context.close() ---
start manual (phase 50) on main
ContextClosedEvent (stop phase begins)
stop slow (phase 200) begins, will finish in 300 ms
stop slow finished, calling the callback
stop high (phase 100) on main
stop manual (phase 50) on main
stop mid (phase 0) on main
stop low (phase -100) on main