[cdi-dev] [JBoss JIRA] Commented: (CDI-105) Provide a means for portable extensions to access beans.xml files

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Apr 30 17:56:18 EDT 2011


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

Mark Struberg commented on CDI-105:
-----------------------------------

WEB-INF/lib isn't on the classpath. You can just access this via the Servlet or Portlet API.
And accessing the beans.xml as resource might btw also be tricky in OSGi environments (where lots of things aren't like we are used too). 

> Provide a means for portable extensions to access beans.xml files
> -----------------------------------------------------------------
>
>                 Key: CDI-105
>                 URL: https://issues.jboss.org/browse/CDI-105
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>            Reporter: Stuart Douglas
>             Fix For: 1.1 (Proposed)
>
>
> There is currently no portable way for extensions to get access to beans.xml files installed in WEB-INF/lib, as CDI starts up before the ServletContext is availible. 
> This would be useful for extensions that wish to add extra information to beans.xml in a different namespace.

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


More information about the cdi-dev mailing list