org.apache.cactus.integration.ant.container.orion
Class AbstractOrionContainer

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
              extended byorg.apache.cactus.integration.ant.container.orion.AbstractOrionContainer
All Implemented Interfaces:
Container
Direct Known Subclasses:
Orion1xContainer, Orion2xContainer

public abstract class AbstractOrionContainer
extends AbstractJavaContainer

Basic support for the Orin application server.

Version:
$Id: AbstractOrionContainer.java,v 1.4 2003/05/25 15:41:42 cmlenz Exp $
Author:
Christopher Lenz

Constructor Summary
AbstractOrionContainer()
           
 
Method Summary
 int getPort()
          Returns the port to which the container should listen.
 void init()
          The default implementation does nothing.
 void setDir(java.io.File theDir)
          Sets the Orion installation directory.
 void setPort(int thePort)
          Sets the port to which the container should listen.
 void setTmpDir(java.io.File theTmpDir)
          Sets the temporary directory from which to start the container.
 void shutDown()
          Subclasses must implement this method to perform the actual task of shutting down the container.
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractJavaContainer
setAppend, setOutput
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractContainer
createExclude, getExcludePatterns, getToDir, 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
 
Methods inherited from interface org.apache.cactus.integration.ant.container.Container
getName, startUp
 

Constructor Detail

AbstractOrionContainer

public AbstractOrionContainer()
Method Detail

setDir

public final void setDir(java.io.File theDir)
Sets the Orion installation directory.

Parameters:
theDir - The directory to set

setPort

public final void setPort(int thePort)
Sets the port to which the container should listen.

Parameters:
thePort - The port to set

setTmpDir

public final void setTmpDir(java.io.File theTmpDir)
Sets the temporary directory from which to start the container.

Parameters:
theTmpDir - The directory to set

getPort

public final int getPort()
Returns the port to which the container should listen.

Returns:
The port

init

public final void init()
Description copied from class: AbstractContainer
The default implementation does nothing.

Specified by:
init in interface Container
Overrides:
init in class AbstractContainer
See Also:
Container.init()

shutDown

public final void shutDown()
Description copied from interface: Container
Subclasses must implement this method to perform the actual task of shutting down the container.

See Also:
Container.shutDown()


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