Class TomcatEmbeddedConfiguration

  • All Implemented Interfaces:
    org.jboss.arquillian.container.spi.client.container.ContainerConfiguration

    public class TomcatEmbeddedConfiguration
    extends Object
    implements org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
    Arquillian Tomcat Container Configuration
    Author:
    Jean Deruelle, Dan Allen
    • Constructor Detail

      • TomcatEmbeddedConfiguration

        public TomcatEmbeddedConfiguration()
    • Method Detail

      • validate

        public void validate()
                      throws org.jboss.arquillian.container.spi.ConfigurationException
        Specified by:
        validate in interface org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
        Throws:
        org.jboss.arquillian.container.spi.ConfigurationException
      • getBindAddress

        public String getBindAddress()
      • setBindAddress

        public void setBindAddress​(String bindAddress)
      • getBindHttpPort

        public int getBindHttpPort()
      • setBindHttpPort

        public void setBindHttpPort​(int bindHttpPort)
        Set the HTTP bind port.
        Parameters:
        httpBindPort - HTTP bind port
      • setTomcatHome

        public void setTomcatHome​(String jbossHome)
      • getTomcatHome

        public String getTomcatHome()
      • setAppBase

        public void setAppBase​(String tomcatAppBase)
        Parameters:
        appBase - the directory where the deployed webapps are stored within the Tomcat installation
      • getAppBase

        public String getAppBase()
      • setWorkDir

        public void setWorkDir​(String tomcatWorkDir)
        Parameters:
        workDir - the directory where the compiled JSP files and session serialization data is stored
      • getTomcatWorkDir

        public String getTomcatWorkDir()
      • setServerName

        public void setServerName​(String serverName)
        Parameters:
        serverName - the serverName to set
      • getServerName

        public String getServerName()
        Returns:
        the serverName
      • isUnpackArchive

        public boolean isUnpackArchive()
        Returns:
        a switch indicating whether the WAR should be unpacked
      • setUnpackArchive

        public void setUnpackArchive​(boolean unpack)
        Sets the WAR to be unpacked into the java.io.tmpdir when deployed. Unpacking is required if you are using Weld to provide CDI support in a servlet environment.
        Parameters:
        a - switch indicating whether the WAR should be unpacked