public abstract class AbstractTomcatContainerUtil extends AbstractInstalledContainerUtil
ContainerUtil
which managaes a Tomcat servlet container. It can configure, start and stop
the Tomcat servlet container.| Modifier and Type | Field and Description |
|---|---|
protected Integer |
ajpPort
The AJP (Apache JServ Protocol) port may be used by a web server (such as
the Apache httpd server) to communicate with Tomcat.
|
protected Integer |
rmiPort
The port to use when communicating with this server, for example to start
and stop it
Default value for Tomcat: 8005
|
protected String |
tomcatVersion |
cargoLogFilePath, configResourcesPath, containerFile, containerHome, containerPort, deployableLocationConfigurations, deployableLocations, installedLocalContainer, jvmArguments, remoteLocation, systemProperties| Constructor and Description |
|---|
AbstractTomcatContainerUtil()
Default constructor that will detect which OS is used to make sure the
Tomcat will be downloaded in the correct location.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deploy()
Deploys the application to the correct
|
Integer |
getAjpPort() |
String |
getConfDirectory()
Retrieves the directory where the configuration files are located from
the specific container.
|
Map<String,String> |
getDeployableLocations() |
Integer |
getRmiPort() |
String |
getSharedLibDirectory()
Retrieves the directory where shared libraries can be copied to.
|
void |
setAjpPort(Integer ajpPort) |
void |
setRmiPort(Integer rmiPort) |
void |
setTomcatVersion(String tomcatVersion) |
protected void |
setupContainer()
Installs the container and the application configuration.
|
addDeployableLocation, getConfigResourcesPath, getContainerPort, getJvmArguments, setCargoLogFilePath, setCleanUpAfterContainerStopped, setConfigResourcesPath, setContainerFile, setContainerName, setContainerPort, setDeployableLocationConfigurations, setDeployableLocations, setJvmArguments, setRemoteLocation, setSystemProperties, setupConfiguration, setupContainerHome, start, stopprotected Integer ajpPort
protected Integer rmiPort
protected String tomcatVersion
public AbstractTomcatContainerUtil()
protected void setupContainer()
setupContainer in class AbstractInstalledContainerUtilprotected void deploy()
deploy in class AbstractInstalledContainerUtilpublic Map<String,String> getDeployableLocations()
public String getSharedLibDirectory()
ContainerUtilpublic String getConfDirectory()
ContainerUtilpublic void setTomcatVersion(String tomcatVersion)
public Integer getAjpPort()
public void setAjpPort(Integer ajpPort)
public Integer getRmiPort()
public void setRmiPort(Integer rmiPort)
Copyright © 2014 Tranquilized Quality. All rights reserved.