Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.container.resin » [javadoc | source]
org.apache.cactus.integration.ant.container.resin
abstract public class: AbstractResinTask [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.cactus.integration.ant.container.resin.AbstractResinTask

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    Resin2xTask, Resin3xTask

Task to start/stop a Resin instance.
Method from org.apache.cactus.integration.ant.container.resin.AbstractResinTask Summary:
createContainerClasspath,   execute,   getAction,   getAppend,   getDir,   getEarFile,   getOutput,   getPort,   getResinConf,   getResinContainer,   getTestURL,   getTmpDir,   getWarFile,   setAction,   setAppend,   setDir,   setEarFile,   setOutput,   setPort,   setResinConf,   setTestURL,   setTmpDir,   setWarFile
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   init,   log,   log,   log,   log,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.container.resin.AbstractResinTask Detail:
 public Path createContainerClasspath() 
    Adds container classpath to the classpath that will be used for starting the container.
 public  void execute() 
    Start or stop the container depending on the action asked by the user. When starting the container, also prepare a valid container configuration and optionally deploy a war or ear in it.
 protected final String getAction() 
 protected final boolean getAppend() 
 protected final File getDir() 
 protected final File getEarFile() 
 protected final File getOutput() 
 protected final int getPort() 
 protected final File getResinConf() 
 abstract protected AbstractResinContainer getResinContainer()
 protected final URL getTestURL() 
 protected final File getTmpDir() 
 protected final File getWarFile() 
 public  void setAction(String theAction) 
    Sets the action to execute (either "start" or "stop").
 public final  void setAppend(boolean isAppend) 
    Sets whether output of the container should be appended to an existing file, or the existing file should be truncated.
 public final  void setDir(File theDir) 
    Sets the Resin installation directory.
 public final  void setEarFile(File theEarFile) 
    Sets an enterprise application aarchive to deploy.
 public final  void setOutput(File theOutput) 
    Sets the file to which output of the container should be written.
 public final  void setPort(int thePort) 
    Sets the port to which the container should listen.
 public final  void setResinConf(File theResinConf) 
    Sets the configuration file to use for the test installation of Resin
 public  void setTestURL(URL theTestURL) 
    Sets the URL to call for testing if the server is running.
 public final  void setTmpDir(File theTmpDir) 
    Sets the temporary directory from which the container is run.
 public final  void setWarFile(File theWarFile) 
    Sets a web application archive to deploy in the container.