[cdi-dev] [JBoss JIRA] (CDI-265) Specify the @Initialized(ApplicationScoped.class) event payload for an EAR with multiple WARs

Martin Kouba (JIRA) jira-events at lists.jboss.org
Fri Nov 2 11:37:18 EDT 2012


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

Martin Kouba commented on CDI-265:
----------------------------------

I'm not sure I'm following. Provided we have an EAR with two web modules. What is the payload of an @Initialized(ApplicationScoped.class) event? Object?
                
> Specify the @Initialized(ApplicationScoped.class) event payload for an EAR with multiple WARs
> ---------------------------------------------------------------------------------------------
>
>                 Key: CDI-265
>                 URL: https://issues.jboss.org/browse/CDI-265
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.1.EDR
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>
> The spec states:
> {quote}
> The event payload is:
> * the ServletContextEvent if the application is a web application deployed to a Servlet container, or
> * ...
> {quote}
> However this will not work for enterprise archives with multiple web modules (which ServletContextEvent would be the payload).

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