Interface DeployableContainer<T extends ContainerConfiguration>
public interface DeployableContainer<T extends ContainerConfiguration>
This interface defines a DeployableContainer in Arquillian.
Methods to get the configuration class, the default protocol and to deploy and undeploy an archive are required to be implemented. Other methods such as setup, start and stop default to NOOP, as not every type of container needs setup or an explicit start and stop.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
Method Summary
Modifier and TypeMethodDescriptiondeploy(org.jboss.shrinkwrap.api.Archive<?> archive) default voiddeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) default voiddefault voidstart()default voidstop()voidundeploy(org.jboss.shrinkwrap.api.Archive<?> archive) default voidundeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
-
Method Details
-
getConfigurationClass
-
setup
-
start
- Throws:
LifecycleException
-
stop
- Throws:
LifecycleException
-
getDefaultProtocol
ProtocolDescription getDefaultProtocol() -
deploy
- Throws:
DeploymentException
-
undeploy
- Throws:
DeploymentException
-
deploy
default void deploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) throws DeploymentException - Throws:
DeploymentException
-
undeploy
default void undeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) throws DeploymentException - Throws:
DeploymentException
-