org.apache.qpid.example.shared
Class InitialContextHelper

java.lang.Object
  extended by org.apache.qpid.example.shared.InitialContextHelper

public class InitialContextHelper
extends Object

Class that provides helper methods for JNDI


Field Summary
static String _defaultPropertiesName
           
protected  Properties _fileProperties
           
protected  InitialContext _initialContext
           
protected static org.slf4j.Logger _log
           
 
Constructor Summary
InitialContextHelper(String propertiesName)
           
 
Method Summary
 Properties getFileProperties()
           
 InitialContext getInitialContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_defaultPropertiesName

public static final String _defaultPropertiesName
See Also:
Constant Field Values

_fileProperties

protected Properties _fileProperties

_initialContext

protected InitialContext _initialContext

_log

protected static final org.slf4j.Logger _log
Constructor Detail

InitialContextHelper

public InitialContextHelper(String propertiesName)
                     throws ContextException
Throws:
ContextException
Method Detail

getFileProperties

public Properties getFileProperties()

getInitialContext

public InitialContext getInitialContext()


Licensed to the Apache Software Foundation