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,11 @@
|
||||
# Every SmartLifecycle bean in a Boot web application, highest phase (stops first) at the top
|
||||
|
||||
phase bean name class
|
||||
2147483647 earlyWorker EarlyWorker
|
||||
2147482623 webServerGracefulShutdown WebServerGracefulShutdownLifecycle
|
||||
2147481599 webServerStartStop WebServerStartStopLifecycle
|
||||
1073741823 applicationTaskExecutor ThreadPoolTaskExecutor
|
||||
1000 lateWorker LateWorker
|
||||
-2147483647 springBootLoggingLifecycle Lifecycle
|
||||
|
||||
SmartLifecycle.DEFAULT_PHASE = 2147483647
|
||||
Reference in New Issue
Block a user