[jboss-jira] [JBoss JIRA] (WFLY-3334) Event with qualifier @Initialized not raised if no webapp is deployed
Jozef Hartinger (JIRA)
issues at jboss.org
Mon May 12 09:29:56 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger moved WELD-1611 to WFLY-3334:
---------------------------------------------
Project: WildFly (was: Weld)
Key: WFLY-3334 (was: WELD-1611)
Affects Version/s: 8.1.0.CR1
(was: 2.1.2.Final)
Component/s: CDI / Weld
(was: Events)
(was: Scopes & Contexts)
(was: WildFly integration)
Security: Public
Fix Version/s: 9.0.0.CR1
(was: 2.2.2.Final)
> Event with qualifier @Initialized not raised if no webapp is deployed
> ---------------------------------------------------------------------
>
> Key: WFLY-3334
> URL: https://issues.jboss.org/browse/WFLY-3334
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CDI / Weld
> Affects Versions: 8.1.0.CR1
> Environment: Wildfly 8.0.0.Final, OpenJDK 1.7.0_45
> Reporter: Daniel Lechner
> Assignee: Jozef Hartinger
> Fix For: 9.0.0.CR1
>
>
> As stated in the CDI-specification (section 6.7.3. Application context lifecycle)
> {quote}
> An event with qualifier @Initialized(ApplicationScoped.class) is fired when the application context is initialized and an event with qualifier @Destroyed(ApplicationScoped.class) is fired when the application is destroyed.
> {quote}
> But in my environment this is only true, if the deployed application (packaged in an EAR) contains a webapplication (as WAR inside the EAR). If there is no webapplication, the event is not raised and observer-methods are not called at all.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list