org.shiftone.ooc.initialize
Class XMLContextConfig

java.lang.Object
  extended byorg.shiftone.ooc.initialize.XMLContextConfig
All Implemented Interfaces:
ContextConfig

public class XMLContextConfig
extends java.lang.Object
implements ContextConfig

Version:
$Revision: 1.3 $
Author:
Jeff Drost

Field Summary
static java.lang.String CONFIG_FILE_NAME
          value ooc-jndi.xml
static java.lang.String CONFIG_FILE_PROPERTY
          value org.shiftone.ooc.config
 
Constructor Summary
XMLContextConfig()
          Constructor XMLContextConfig
 
Method Summary
 void config(javax.naming.Context context)
          Method build
 java.io.InputStream getContextXMLInput()
          Method getContextXMLInput
 java.io.InputStream getInputDefault()
          Method getInputDefault
 java.io.InputStream getInputFromClasspath()
          Method getContextXMLInput
 java.io.InputStream getInputFromCWD()
          Method getInputFromCWD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE_NAME

public static final java.lang.String CONFIG_FILE_NAME
value ooc-jndi.xml

See Also:
Constant Field Values

CONFIG_FILE_PROPERTY

public static final java.lang.String CONFIG_FILE_PROPERTY
value org.shiftone.ooc.config

See Also:
Constant Field Values
Constructor Detail

XMLContextConfig

public XMLContextConfig()
Constructor XMLContextConfig

Method Detail

config

public void config(javax.naming.Context context)
            throws javax.naming.NamingException
Method build

Specified by:
config in interface ContextConfig
Throws:
javax.naming.NamingException

getContextXMLInput

public java.io.InputStream getContextXMLInput()
Method getContextXMLInput


getInputFromClasspath

public java.io.InputStream getInputFromClasspath()
Method getContextXMLInput


getInputFromCWD

public java.io.InputStream getInputFromCWD()
Method getInputFromCWD


getInputDefault

public java.io.InputStream getInputDefault()
Method getInputDefault