[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 18:07:18 EDT 2011


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

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

Umm, yes, actually this is somehow irritating.

12.1. "Bean archives" defines
...
The WEB-INF/classes directory of a war is a bean archive if there is a file named beans.xml in the WEB-INF directory of the war.

so what I really meant was: "WEB-INF/beans.xml"


> 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