[weld-issues] [JBoss JIRA] Commented: (WELDSERVLET-28) add beforeContextInitialized and other servlet event

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Aug 3 08:33:49 EDT 2010


    [ https://jira.jboss.org/browse/WELDSERVLET-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12542737#action_12542737 ] 

Pete Muir commented on WELDSERVLET-28:
--------------------------------------

User requests that we move the super.contextInitialized call to be before bean validation.

> add beforeContextInitialized and other servlet event
> ----------------------------------------------------
>
>                 Key: WELDSERVLET-28
>                 URL: https://jira.jboss.org/browse/WELDSERVLET-28
>             Project: Weld Servlet
>          Issue Type: Feature Request
>            Reporter: he youlin
>
> Sometimes i want to get ServletContextEvent weld event after weld container started and before validateBeans,so i can do some init work in weld extension.And I can wrap servletContext as a weld bean in this weld event's observe then i can use the servletContext bean in all weld extension of event's observe after 
> container started.So we can do more init work of servlet container such as tomcat or jetty servlet inject or spring's init work.
> see http://seamframework.org/Community/ShouldSeamServletEventMoveToWeldservletinit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list