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

Redesign packaging

XMLWordPrintable

      In the current version the Packager is responsible for creating the final deployment and adding the Protocol as just another AuxiliaryArchive. The problem here is that the Packager has to know about which Protocol is running and pack differently based on it. e.g. when using a Servlet protocol it has to be a WebArchive in the deployment.

      Since the protocol has the information on how it needs to package itself and where to place the auxiliary archives in relation to itself the Protocol should do the final packaging.

      Remove the Packager SPI and add a new ProtocolPackager SPI on Protocol level.

      Each protocol now knows how it needs to modify the Deployment to communicate with it.

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

                Created:
                Updated:
                Resolved: