[
https://issues.jboss.org/browse/CDI-601?page=com.atlassian.jira.plugin.sy...
]
Martin Kouba commented on CDI-601:
----------------------------------
I'm not sure I understand. But I would say `no`, this event would merely ensure the
injected dependencies are not destroyed during notification. And possibly this could be
used together with observer ordering if needed.
Add container lifecycle event fired before container destroys all
contexts
--------------------------------------------------------------------------
Key: CDI-601
URL:
https://issues.jboss.org/browse/CDI-601
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Martin Kouba
Fix For: 2.0 (discussion)
The name might be something like {{BeforeContainerShutdown}}. Note that we probably
cannot change the name or semantics of {{BeforeShutdown}}, which is fired after container
destroys all contexts. The motivation is to allow the beans to perform some kind of
cleanup before dependencies could be disposed (the ordering of destruction is not
defined).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)