Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1168

Merge beans.xml files for Embedded Weld Containers

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • weld_1.0.0.CR5
    • weld_1.0.0.CR4
    • Weld Containers
    • None

    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.

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: