Class PiranhaServerDeployableContainer

  • All Implemented Interfaces:
    org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>

    public class PiranhaServerDeployableContainer
    extends Object
    implements org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
    The Piranha Arquillian connector.

    This connector will start up and embedded Piranha runtime in an isolated class loader for every application that is deployed.

    Author:
    Arjan Tijms
    • Constructor Detail

      • PiranhaServerDeployableContainer

        public PiranhaServerDeployableContainer()
    • Method Detail

      • getDefaultProtocol

        public org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription getDefaultProtocol()
        Specified by:
        getDefaultProtocol in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
      • start

        public void start()
                   throws org.jboss.arquillian.container.spi.client.container.LifecycleException
        Specified by:
        start in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.LifecycleException
      • deploy

        public org.jboss.arquillian.container.spi.client.protocol.metadata.ProtocolMetaData deploy​(org.jboss.shrinkwrap.api.Archive<?> archive)
                                                                                            throws org.jboss.arquillian.container.spi.client.container.DeploymentException
        Specified by:
        deploy in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.DeploymentException
      • deploy

        public void deploy​(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
                    throws org.jboss.arquillian.container.spi.client.container.DeploymentException
        Specified by:
        deploy in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.DeploymentException
      • undeploy

        public void undeploy​(org.jboss.shrinkwrap.api.Archive<?> archive)
                      throws org.jboss.arquillian.container.spi.client.container.DeploymentException
        Specified by:
        undeploy in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.DeploymentException
      • undeploy

        public void undeploy​(org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
                      throws org.jboss.arquillian.container.spi.client.container.DeploymentException
        Specified by:
        undeploy in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.DeploymentException
      • stop

        public void stop()
                  throws org.jboss.arquillian.container.spi.client.container.LifecycleException
        Specified by:
        stop in interface org.jboss.arquillian.container.spi.client.container.DeployableContainer<PiranhaServerContainerConfiguration>
        Throws:
        org.jboss.arquillian.container.spi.client.container.LifecycleException