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 IOException
- Throws:
IOException
getServerHomePropertyName
protected String getServerHomePropertyName()
- Specified by:
getServerHomePropertyName in class AbstractContainerConnector
shutdownServer
protected void shutdownServer()
throws IOException
- Specified by:
shutdownServer in class AbstractContainerConnector
- Throws:
IOException
startServer
protected void startServer()
throws IOException
- Specified by:
startServer in class AbstractContainerConnector
- Throws:
IOException
getBinDirectory
protected String getBinDirectory()
getLogName
protected String getLogName()
- Specified by:
getLogName in class AbstractContainerConnector
deploy
public boolean deploy(InputStream stream,
String name)
throws IOException
- Specified by:
deploy in interface Containers
- Throws:
IOException
getDeploymentException
public DeploymentException getDeploymentException()
- Specified by:
getDeploymentException in interface Containers
undeploy
public void undeploy(String name)
throws IOException
- Specified by:
undeploy in interface Containers
- Throws:
IOException
getManagerUrl
protected String getManagerUrl(String command,
String... parameters)
getContextName
protected String getContextName(String name)
Copyright © 2009-2011. All Rights Reserved.