[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
Fri Sep 7 09:12:33 EDT 2012


Martin Kouba created CDI-264:
--------------------------------

             Summary: 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


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