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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProtocolMetaDatadeploy(org.jboss.shrinkwrap.api.Archive<?> archive)default voiddeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)Class<T>getConfigurationClass()ProtocolDescriptiongetDefaultProtocol()default voidsetup(T configuration)default voidstart()default voidstop()voidundeploy(org.jboss.shrinkwrap.api.Archive<?> archive)default voidundeploy(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
-
-
-
Method Detail
-
setup
default void setup(T configuration)
-
start
default void start() throws LifecycleException- Throws:
LifecycleException
-
stop
default void stop() throws LifecycleException- Throws:
LifecycleException
-
getDefaultProtocol
ProtocolDescription getDefaultProtocol()
-
deploy
ProtocolMetaData deploy(org.jboss.shrinkwrap.api.Archive<?> archive) throws DeploymentException
- Throws:
DeploymentException
-
undeploy
void undeploy(org.jboss.shrinkwrap.api.Archive<?> archive) throws DeploymentException- 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
-
-