|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.cactus.integration.ant.container.AbstractContainer
org.apache.cactus.integration.ant.container.AbstractJavaContainer
org.apache.cactus.integration.ant.container.tomcat.AbstractTomcatContainer
Base support for Catalina based containers.
Constructor Summary | |
AbstractTomcatContainer()
|
Method Summary | |
void |
addConf(org.apache.tools.ant.types.FileSet theConf)
Adds a set of files to include in the Tomcat configuration directory. |
java.io.File |
getDir()
Sets the Tomcat installation directory. |
int |
getPort()
Returns the port to which the container should listen. |
java.io.File |
getServerXml()
Sets the server configuration file to use for the test installation of Tomcat. |
void |
init()
The default implementation does nothing. |
void |
setDir(java.io.File theDir)
Sets the Tomcat installation directory. |
void |
setPort(int thePort)
Sets the port to which the container should listen. |
void |
setServerXml(java.io.File theServerXml)
Sets the server configuration file to use for the test installation of Tomcat. |
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractJavaContainer |
setAppend, setOutput |
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractContainer |
createExclude, getExcludePatterns, getToDir, isEnabled, isExcluded, setAntTaskFactory, setDeployableFile, setIf, setLog, setToDir, setUnless |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cactus.integration.ant.container.Container |
getName, shutDown, startUp |
Constructor Detail |
public AbstractTomcatContainer()
Method Detail |
public final void addConf(org.apache.tools.ant.types.FileSet theConf)
theConf
- The fileset to addpublic final java.io.File getDir()
public final void setDir(java.io.File theDir)
theDir
- The directory to setpublic final java.io.File getServerXml()
public final void setServerXml(java.io.File theServerXml)
theServerXml
- The server.xml filepublic final void setPort(int thePort)
thePort
- The port to setpublic final int getPort()
public void init()
AbstractContainer
init
in interface Container
init
in class AbstractContainer
Container.init()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |