[
https://issues.jboss.org/browse/ARQ-1168?page=com.atlassian.jira.plugin.s...
]
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