| |
|
| org.apache.cactus.integration.ant.container.AbstractJavaContainer org.apache.cactus.integration.ant.container.tomcat.AbstractTomcatContainer
All known Subclasses: org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer, org.apache.cactus.integration.ant.container.tomcat.Tomcat3xContainer,
AbstractTomcatContainer | abstract public class AbstractTomcatContainer extends AbstractJavaContainer (Code) | | Base support for Catalina based containers.
version: $Id: AbstractTomcatContainer.java 238811 2004-02-29 10:10:42Z vmassol $ |
Method Summary | |
final public void | addConf(FileSet theConf) Adds a set of files to include in the Tomcat configuration directory. | final protected void | copyConfFiles(File theConfDir) Copies the configuration files specified by nested <conf> filesets
to the conf/ directory. | final public File | getDir() Sets the Tomcat installation directory. | final public int | getPort() Returns the port to which the container should listen. | final public File | getServerXml() | public void | init() | final public void | setDir(File theDir) Sets the Tomcat installation directory. | final public void | setPort(int thePort) Sets the port to which the container should listen. | final public void | setServerXml(File theServerXml) Sets the server configuration file to use for the test installation of
Tomcat. |
addConf | final public void addConf(FileSet theConf)(Code) | | Adds a set of files to include in the Tomcat configuration directory.
Parameters: theConf - The fileset to add |
copyConfFiles | final protected void copyConfFiles(File theConfDir)(Code) | | Copies the configuration files specified by nested <conf> filesets
to the conf/ directory.
Parameters: theConfDir - The Tomcat configuration directory |
getDir | final public File getDir()(Code) | | Sets the Tomcat installation directory.
The directory |
getPort | final public int getPort()(Code) | | Returns the port to which the container should listen.
The port |
getServerXml | final public File getServerXml()(Code) | | The server.xml file, if set or null otherwise |
setDir | final public void setDir(File theDir)(Code) | | Sets the Tomcat installation directory.
Parameters: theDir - The directory to set |
setPort | final public void setPort(int thePort)(Code) | | Sets the port to which the container should listen.
Parameters: thePort - The port to set |
setServerXml | final public void setServerXml(File theServerXml)(Code) | | Sets the server configuration file to use for the test installation of
Tomcat.
Parameters: theServerXml - The server.xml file |
|
|
|