Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, AbstractResinContainer, AbstractTomcatContainer, JBoss3xContainer, 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 239096 2004-12-10 13:50:22Z felipeal $

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` | `setJVMArgs(java.lang.String theJVMArgs)` Sets the arguments for JVM.
`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, getBaseURL, getContainerClasspath, getExcludePatterns, getProtocol, getServer, getStartUpWait, getSystemProperties, getTestContext, getToDir, init, isEnabled, isExcluded, setAntTaskFactory, setContainerClasspath, setDeployableFile, setIf, setLog, setProtocol, setServer, 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

### setJVMArgs

    public final void setJVMArgs(java.lang.String theJVMArgs)

  Sets the arguments for JVM.

  Parameters:
    `theJVMArgs` - The arguments

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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