[cdi-dev] [JBoss JIRA] (CDI-601) Add container lifecycle event fired before container destroys all contexts

Martin Kouba (JIRA) issues at jboss.org
Mon May 16 06:40:00 EDT 2016


    [ https://issues.jboss.org/browse/CDI-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238007#comment-13238007 ] 

Martin Kouba commented on CDI-601:
----------------------------------

It might be more practical to fire a regular event, similar to {{@Destroyed(X.class)}}.

> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list