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

Create a Protocol processor SPI for modifying the final deployment generated by the DeploymentPackager

    XMLWordPrintable

Details

    Description

      In some cases we need to modify the Protocol generated Deployment.

      In the case of CDI, it's BeanManagers are hierarchical, a BeanManager created for a ejb-jar in a ear is not visible to a war unless the war also contains a beans.xml. When using the Servlet Protocol, a war is added without a beans.xml since the protocol it self is unaware of CDI, and Beans are never injected into the testcase.

      DeploymentProcessor.process(TestClass relevant class, TestDeployment auxAndApplicationArchives, Archive<?> finalDeployment);

      https://issues.jboss.org/browse/WELD-709

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: