- Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Hi!
Is it correct behavior?
We have two code snippets in the AbstractApplicationContext.class:
-
doClose() code -
lifecycleProcessor.onClose();beforedestroyBeans() -
refresh() code
destroyBeans()before any logic - so that some lifecycle beans will be remove and can't be stop
So we have some beans were starts, but not stopped if some fail during context initialization (refresh()...).
Thanks.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement