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

Brian Leathem commented on SEAMSERVLET-45:
------------------------------------------

We could solve this some kind of WebXmlLocator service, with provider specific 
implementations, using the EE SeviceLoader API.

http://download.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html

> Provide a portable means to access web.xml without the ServletContext
> ---------------------------------------------------------------------
>
>                 Key: SEAMSERVLET-45
>                 URL: https://issues.jboss.org/browse/SEAMSERVLET-45
>             Project: Seam Servlet
>          Issue Type: Feature Request
>            Reporter: Brian Leathem
>
> In Seam Faces, we would like to access the web.xml file from within a CDI 
> extension (SEAMFACES-185).  This is currently not possible to do in a 
> portable way, as the ServletContext is not available from CDI extensions (at 
> least not in EE environments).
> In servlet environments, we can simply delegate to the ServletContext, but in 
> EE environments, we may have to provide implementation specific ways of 
> loading the web.xml file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to