This class distributes (deploys) and undeploys ShrinkWrap archives using the JSR-88 {@link DeploymentManager}. A connection to the container is established during the start method and released in the stop method. The deploy and undeploy methods use {@link DeploymentManager#distribute(Target[],ModuleType,InputStream,InputStream)} and{@link DeploymentManager#undeploy(TargetModuleID[])}, respectively.
You can use this container implementation either through configuration or extension. To use it via configuration, assign the deployment URI and deployment factory class for the target container to the {@link JSR88Configuration}object using the Arquillian configuration file (arquillian.xml). Alternatively, you can choose to extend the {@link JSR88Configuration} to assign defaults forthese values. You should also specify the configuration class by overriding the {@link JSR88CompliantRemoteContainer#getContainerConfigurationClass()}method.
JSR 88 deploys the archive using an {@link InputStream}. The deployed archive is assigned a random name. You can specify a custom name for a war in the module-name
element of the module deployment descriptor (web.xml).
|
|
|
|