public class CommonTomcatConfiguration extends Object implements org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
| Constructor and Description |
|---|
CommonTomcatConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected URI |
createJmxUri() |
protected URL |
createManagerUrl() |
String |
getAppBase() |
String |
getBindAddress() |
int |
getBindHttpPort() |
int |
getJmxPort() |
URI |
getJmxUri() |
String |
getJmxVirtualHost() |
URL |
getManagerUrl() |
String |
getPass() |
String |
getUrlCharset() |
String |
getUser() |
boolean |
isUnpackArchive() |
void |
setAppBase(String appBase) |
void |
setBindAddress(String bindAddress) |
void |
setBindHttpPort(int bindHttpPort)
Set the HTTP bind port.
|
void |
setJmxPort(int jmxPort) |
void |
setJmxUri(URI jmxUri) |
void |
setJmxVirtualHost(String jmxVirtualHost) |
void |
setManagerUrl(URL managerUrl) |
void |
setPass(String pass) |
void |
setUnpackArchive(boolean unpackArchive)
Sets the WAR to be unpacked into the java.io.tmpdir when deployed.
|
void |
setUrlCharset(String urlCharset) |
void |
setUser(String user) |
void |
validate() |
public void validate()
throws org.jboss.arquillian.container.spi.ConfigurationException
validate in interface org.jboss.arquillian.container.spi.client.container.ContainerConfigurationorg.jboss.arquillian.container.spi.ConfigurationExceptionpublic String getBindAddress()
public void setBindAddress(String bindAddress)
public int getBindHttpPort()
public void setBindHttpPort(int bindHttpPort)
httpBindPort - HTTP bind portpublic String getUser()
public void setUser(String user)
public String getPass()
public void setPass(String pass)
public int getJmxPort()
public void setJmxPort(int jmxPort)
public String getAppBase()
public void setAppBase(String appBase)
appBase - the directory where the deployed webapps are stored within the Tomcat installationpublic boolean isUnpackArchive()
public void setUnpackArchive(boolean unpackArchive)
a - switch indicating whether the WAR should be unpackedpublic void setUrlCharset(String urlCharset)
urlCharset - the urlCharset to setpublic String getUrlCharset()
public void setJmxVirtualHost(String jmxVirtualHost)
jmxVirtualHost - the jmxVirtualHost to setpublic String getJmxVirtualHost()
public void setJmxUri(URI jmxUri)
jmxUri - the jmxUri to setpublic URI getJmxUri()
public void setManagerUrl(URL managerUrl)
managerUrl - the managerUrl to setpublic URL getManagerUrl()
protected URI createJmxUri() throws URISyntaxException
URISyntaxExceptionprotected URL createManagerUrl() throws MalformedURLException
MalformedURLExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.