org.apache.cactus.integration.ant.container
Class AbstractJavaContainer

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.cactus.integration.ant.container.AbstractContainer
          extended byorg.apache.cactus.integration.ant.container.AbstractJavaContainer
All Implemented Interfaces:
Container
Direct Known Subclasses:
AbstractOrionContainer, AbstractTomcatContainer, JBoss3xContainer, Resin2xContainer, WebLogic7xContainer

public abstract class AbstractJavaContainer
extends AbstractContainer

Abstract base class for containers that perform the starting and stopping of the server by executing Java classes in a forked JVM.

Version:
$Id: AbstractJavaContainer.java,v 1.2.2.1 2003/10/23 18:20:43 vmassol Exp $
Author:
Christopher Lenz

Constructor Summary
AbstractJavaContainer()
           
 
Method Summary
 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 setOutput(java.io.File theOutput)
          Sets the file to which output of the container should be written.
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractContainer
createExclude, getExcludePatterns, getStartUpWait, getSystemProperties, getToDir, init, 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
 
Methods inherited from interface org.apache.cactus.integration.ant.container.Container
getName, getPort, shutDown, startUp
 

Constructor Detail

AbstractJavaContainer

public AbstractJavaContainer()
Method Detail

setOutput

public final void setOutput(java.io.File theOutput)
Sets the file to which output of the container should be written.

Parameters:
theOutput - The output file to set

setAppend

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.

Parameters:
isAppend - Whether output should be appended


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.