org.apache.cactus.integration.ant.container
Class AbstractJavaContainer
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.cactus.integration.ant.container.AbstractContainer
org.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 2003/05/12 09:03:51 cmlenz Exp $
- Author:
- Christopher Lenz
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, getToDir, init, 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 |
AbstractJavaContainer
public AbstractJavaContainer()
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.