Class CommonContainerConfiguration

java.lang.Object
org.jboss.as.arquillian.container.CommonContainerConfiguration
All Implemented Interfaces:
org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
Direct Known Subclasses:
CommonManagedContainerConfiguration

public class CommonContainerConfiguration extends Object implements org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
JBossAS7 server configuration
Author:
Thomas.Diesler@jboss.com, Andrew Lee Rubinger
  • Constructor Details

    • CommonContainerConfiguration

      public CommonContainerConfiguration()
  • Method Details

    • getManagementAddress

      public String getManagementAddress()
    • setManagementAddress

      public void setManagementAddress(String host)
    • getManagementPort

      public int getManagementPort()
    • setManagementPort

      public void setManagementPort(int managementPort)
    • getUsername

      public String getUsername()
    • setPassword

      public void setPassword(String password)
    • getPassword

      public String getPassword()
    • setUsername

      public void setUsername(String username)
    • getManagementProtocol

      public String getManagementProtocol()
    • getProtocol

      public String getProtocol()
      Returns the protocol to for HTTP connections. This currently only supports http and https with a default of http.
      Returns:
      the protocol
    • setProtocol

      public void setProtocol(String protocol)
      Sets the protocol for HTTP connections. If null the default of http is used.
      Parameters:
      protocol - the protocol to use, this must be http or https
    • getSocketBindingName

      public String getSocketBindingName()
      Returns the socket binding name to use.
      Returns:
      the socket binding name or null to discover one
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • setManagementProtocol

      public void setManagementProtocol(String managementProtocol)
    • getConnectionTimeout

      public int getConnectionTimeout()
    • setConnectionTimeout

      public void setConnectionTimeout(int connectionTimeout)
      Accepts a timeout which must be greater than 0.
    • getAuthenticationConfig

      public String getAuthenticationConfig()
      The URI path for the authentication configuration.
      Returns:
      the URI for the path or null if no path was set
    • setAuthenticationConfig

      public void setAuthenticationConfig(String authenticationConfig)
      Set the URI path for the authentication configuration.
      Parameters:
      authenticationConfig - the URI path
    • setSocketBindingName

      public void setSocketBindingName(String socketBindingName)
      Sets the socket binding name to use for determining the host and port for HTTP connections. This can be used to override discovering the first binding name.

      The socket binding name is configured in WildFly. If this is not set, one will be determined from the Undertow subsystem.

      Parameters:
      socketBindingName - the socket binding name or null for one to be determined
    • 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