org.lateralnz.panther.container
Class Container

java.lang.Object
  extended by org.lateralnz.panther.container.Container
All Implemented Interfaces:
Constants
Direct Known Subclasses:
SSBContainer

public abstract class Container
extends java.lang.Object
implements Constants

base superclass for all(?) containers. This expects Properties and a parent object in the constructor.
Required properties are: deploy_directory, working_directory, and conf_directory
The parent object is required in case any container implementations require it for creating classloaders/whatever


Field Summary
protected  java.lang.String confDir
          special configuration files for the container will be found here
protected  java.lang.String deployDir
          files that will be deployed into the container will be found here
protected  javax.naming.Context envContext
           
static javax.naming.Context initContext
          initial context
protected  java.lang.String pantherHome
           
protected  java.lang.String workingDir
          working directory
 
Fields inherited from interface org.lateralnz.common.util.Constants
AMPERSAND, AND, APPLICATION_X_WWW_FORM_URLENCODED, ASTERISK, AT, BACK_SLASH, CHAR_LEFT_CHEV, CHAR_RIGHT_CHEV, COLON, COMMA, CRLF, DASH, DELETE, DOLLAR, DOT, DOT_CLASS, DOT_JAVA, EIGHT, EMPTY, EQUALS, FALSE, FILE_SEPARATOR, FIVE, FORWARD_SLASH, FOUR, FULLSTOP, HASH, HAT, INSERT, LEFT_BRACE, LEFT_BRACKET, LEFT_CHEV, MAX_LEN_APPCODE, MAX_LEN_APPGROUP, MAX_LEN_MSGCODE, MAX_LEN_MSGTEXT, MINUS_ONE, N, NEWLINE, NINE, NO, NULL_STRING, OFF, ON, ONE, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_WEEK, PATH_SEPARATOR, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE, REQUIRED, REQUIRES_NEW, RETURN, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CHEV, SELECT, SEMICOLON, SEVEN, SINGLE_QUOTE, SIX, SPACE, SQ_LEFT_BRACKET, SQ_RIGHT_BRACKET, SUPPORTS, TEXT_HTML, TEXT_PLAIN, TEXT_XML, THREE, TRUE, TWO, UNDERSCORE, UPDATE, UTF_8, Y, YES, ZERO
 
Constructor Summary
Container(java.util.Properties props, java.lang.Object parent)
          construct the container using the specified properties and parent object
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initContext

public static javax.naming.Context initContext
initial context


pantherHome

protected java.lang.String pantherHome

workingDir

protected java.lang.String workingDir
working directory


deployDir

protected java.lang.String deployDir
files that will be deployed into the container will be found here


confDir

protected java.lang.String confDir
special configuration files for the container will be found here


envContext

protected javax.naming.Context envContext
Constructor Detail

Container

public Container(java.util.Properties props,
                 java.lang.Object parent)
          throws java.lang.Exception
construct the container using the specified properties and parent object

Throws:
java.lang.Exception