|
|||||||||||
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.tools.ant.Task
org.apache.cactus.integration.ant.container.resin.AbstractResinTask
Task to start/stop a Resin instance.
Constructor Summary | |
AbstractResinTask()
|
Method Summary | |
org.apache.tools.ant.types.Path |
createContainerClasspath()
Adds container classpath to the classpath that will be used for starting the container. |
void |
execute()
Start or stop the container depending on the action asked by the user. |
void |
setAction(java.lang.String theAction)
Sets the action to execute (either "start" or "stop"). |
void |
setAppend(boolean isAppend)
Sets whether output of the container should be appended to an existing file, or the existing file should be truncated. |
void |
setDir(java.io.File theDir)
Sets the Resin installation directory. |
void |
setEarFile(java.io.File theEarFile)
Sets an enterprise application aarchive to deploy. |
void |
setOutput(java.io.File theOutput)
Sets the file to which output of the container should be written. |
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 |
void |
setTestURL(java.net.URL theTestURL)
Sets the URL to call for testing if the server is running. |
void |
setTmpDir(java.io.File theTmpDir)
Sets the temporary directory from which the container is run. |
void |
setWarFile(java.io.File theWarFile)
Sets a web application archive to deploy in the container. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractResinTask()
Method Detail |
public final void setDir(java.io.File theDir)
theDir
- The directory to setpublic void setAction(java.lang.String theAction)
theAction
- the action that will be executed by this taskpublic final void setWarFile(java.io.File theWarFile)
theWarFile
- The WAR file to deploypublic final void setEarFile(java.io.File theEarFile)
theEarFile
- The EAR file to deploypublic void setTestURL(java.net.URL theTestURL)
theTestURL
- the test URL to pingpublic final void setTmpDir(java.io.File theTmpDir)
theTmpDir
- The temporary 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 setOutput(java.io.File theOutput)
theOutput
- The output file to setpublic final void setAppend(boolean isAppend)
isAppend
- Whether output should be appendedpublic void execute()
Task.execute()
public org.apache.tools.ant.types.Path createContainerClasspath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |