[cdi-dev] [JBoss JIRA] (CDI-264) The runtime type of any event object should not be assignable to the type of a container lifecycle event

Martin Kouba (JIRA) jira-events at lists.jboss.org
Mon Sep 10 10:31:33 EDT 2012


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

Martin Kouba commented on CDI-264:
----------------------------------

OK
                
> The runtime type of any event object should not be assignable to the type of a container lifecycle event
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CDI-264
>                 URL: https://issues.jboss.org/browse/CDI-264
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>             Fix For: 1.1.PRD
>
>
> This was already discussed in CDI-245 WRT application bootstrap (extensions). I believe we should apply the same approach in section "10.3.1. The Event interface" as well. E.g. it should not be possible to fire an event object assignable to {{BeforeShutdown}} via {{Event}} builtin bean.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list