|
|||||||||||
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.resin.Resin2xContainer
Special container support for the Caucho Resin 2.x servlet container.
Constructor Summary | |
Resin2xContainer()
|
Method Summary | |
java.lang.String |
getName()
Returns a displayable name of the container for logging purposes. |
int |
getPort()
Returns the port to which the container should listen. |
void |
init()
The default implementation does nothing. |
void |
setDir(java.io.File theDir)
Sets the Resin installation directory. |
void |
setPort(int thePort)
Sets the port to which the container should listen. |
void |
setResinConf(java.io.File theResinConf)
Sets the configuration file to use for the test installation of Resin 2.x. |
void |
setTmpDir(java.io.File theTmpDir)
Sets the temporary directory from which the container is run. |
void |
shutDown()
Subclasses must implement this method to perform the actual task of shutting down the container. |
void |
startUp()
Subclasses must implement this method to perform the actual task of starting up the container. |
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, getStartUpWait, getSystemProperties, getToDir, isEnabled, isExcluded, setAntTaskFactory, setDeployableFile, setIf, setLog, setStartUpWait, setSystemProperties, 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 |
Constructor Detail |
public Resin2xContainer()
Method Detail |
public final void setDir(java.io.File theDir)
theDir
- The directory to setpublic final void setResinConf(java.io.File theResinConf)
theResinConf
- The resin.conf filepublic final void setPort(int thePort)
thePort
- The port to setpublic final void setTmpDir(java.io.File theTmpDir)
theTmpDir
- The temporary directory to setpublic final java.lang.String getName()
Container
Container.getName()
public final int getPort()
public final void init()
AbstractContainer
init
in interface Container
init
in class AbstractContainer
Container.init()
public final void startUp()
Container
Container.startUp()
public final void shutDown()
Container
Container.shutDown()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |