You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/07/24 12:15:38 UTC

[jira] [Updated] (DELTASPIKE-676) ServletContext is available for injection before EventBridgeContextListener

     [ https://issues.apache.org/jira/browse/DELTASPIKE-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek updated DELTASPIKE-676:
----------------------------------------

    Assignee: Christian Kaltepoth

> ServletContext is available for injection before EventBridgeContextListener
> ---------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-676
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-676
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Servlet-Module
>    Affects Versions: 1.0.1
>         Environment: Tomcat + WELD
>            Reporter: jason zhang
>            Assignee: Christian Kaltepoth
>
> Servlet Context is not available for injection in @observe @Initialized ServletContext servletContext event. 
> I suggest put EventBridgeContextListener after ServletContextHolderListener in web-fragment.xml.
> Deeply in my code, I need servletContext to do the work. The servletContext is injected from CDI using @initialized qualifier.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)