[arquillian-issues] [JBoss JIRA] (ARQ-1168) Merge beans.xml files for Embedded Weld Containers

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue Oct 23 11:57:01 EDT 2012


     [ https://issues.jboss.org/browse/ARQ-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen updated ARQ-1168:
-------------------------------

    Description: 
Weld Embedded use a FlatDeployment structure and does not support nested Bean Archive Deployments like a Application Server does. To activate interceptors etc they have to be activated via beans.xml in all Bean Archives. 

Since the Weld Embedded Container discovers and hands of all beans.xml files found in the Deployment and use a flat deployment structure, Weld will rightfully complain about duplicate entries if multiple nested BeanArchives within e.g. a WebArchive use the same Interceptors. To avoid this, and to avoid moving to a full Nested Bean Archive deployment structure we should merge the found beans.xml files into one definition and remote duplicate entries.

    
> Merge beans.xml files for Embedded Weld Containers
> --------------------------------------------------
>
>                 Key: ARQ-1168
>                 URL: https://issues.jboss.org/browse/ARQ-1168
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Weld Containers
>    Affects Versions: weld_1.0.0.CR4
>            Reporter: Aslak Knutsen
>            Assignee: Aslak Knutsen
>             Fix For: weld_1.0.0.Final
>
>
> Weld Embedded use a FlatDeployment structure and does not support nested Bean Archive Deployments like a Application Server does. To activate interceptors etc they have to be activated via beans.xml in all Bean Archives. 
> Since the Weld Embedded Container discovers and hands of all beans.xml files found in the Deployment and use a flat deployment structure, Weld will rightfully complain about duplicate entries if multiple nested BeanArchives within e.g. a WebArchive use the same Interceptors. To avoid this, and to avoid moving to a full Nested Bean Archive deployment structure we should merge the found beans.xml files into one definition and remote duplicate entries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list