org.jboss.testharness.integration.tomcat
Class TomcatConnector
java.lang.Object
org.jboss.testharness.spi.helpers.AbstractContainerConnector
org.jboss.testharness.integration.tomcat.TomcatConnector
- All Implemented Interfaces:
- Configurable, Containers
public class TomcatConnector
- extends AbstractContainerConnector
- implements Containers
- Author:
- jeffgenender, Pete Muir
| Methods inherited from class org.jboss.testharness.spi.helpers.AbstractContainerConnector |
cleanup, copy, copy, dump, getDeploymentExceptionTransformer, getDeploymentExceptionTransformerPropertyName, getExtraConfigurationDir, getExtraConfigurationDirPropertyName, getForceRestart, getForceRestartPropertyName, getHost, getHostPropertyName, getHttpUrl, getJavaOpts, getPort, getPortPropertyName, getProperties, getServerBootTimeout, getServerBootTimeoutPropertyName, getServerDirectory, getShutdownDelay, getShutdownDelayPropertyName, isServerUp, launch, loadProperties, restartServer, setConfiguration, setup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatConnector
public TomcatConnector()
throws java.io.IOException
- Throws:
java.io.IOException
getServerHomePropertyName
protected java.lang.String getServerHomePropertyName()
- Specified by:
getServerHomePropertyName in class AbstractContainerConnector
shutdownServer
protected void shutdownServer()
throws java.io.IOException
- Specified by:
shutdownServer in class AbstractContainerConnector
- Throws:
java.io.IOException
startServer
protected void startServer()
throws java.io.IOException
- Specified by:
startServer in class AbstractContainerConnector
- Throws:
java.io.IOException
getBinDirectory
protected java.lang.String getBinDirectory()
getLogName
protected java.lang.String getLogName()
- Specified by:
getLogName in class AbstractContainerConnector
deploy
public boolean deploy(java.io.InputStream stream,
java.lang.String name)
throws java.io.IOException
- Specified by:
deploy in interface Containers
- Throws:
java.io.IOException
getDeploymentException
public DeploymentException getDeploymentException()
- Specified by:
getDeploymentException in interface Containers
undeploy
public void undeploy(java.lang.String name)
throws java.io.IOException
- Specified by:
undeploy in interface Containers
- Throws:
java.io.IOException
getManagerUrl
protected java.lang.String getManagerUrl(java.lang.String command,
java.lang.String... parameters)
getContextName
protected java.lang.String getContextName(java.lang.String name)
Copyright © 2009. All Rights Reserved.