Add core-beans: bean scopes, the prototype-in-singleton trap, lifecycle callback order and graceful shutdown phases on Boot 4.1
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JoVmf2fWvcpoXndcDSwRf7
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Three SmartLifecycle beans registered in the order 300, 100, 200
|
||||
|
||||
=== refresh() ===
|
||||
start A (phase 100)
|
||||
start B (phase 200)
|
||||
start C (phase 300)
|
||||
=== close() ===
|
||||
stop C (phase 300)
|
||||
stop B (phase 200)
|
||||
stop A (phase 100)
|
||||
Reference in New Issue
Block a user