org.jcoderz.commons.config
Class ConfigEntityJNDIUtil

java.lang.Object
  extended by org.jcoderz.commons.config.ConfigEntityJNDIUtil

public class ConfigEntityJNDIUtil
extends Object

Utility class for ConfigEntity.


Constructor Summary
ConfigEntityJNDIUtil()
           
 
Method Summary
static ConfigEntityHome getHome()
          Obtain remote home interface from default initial context
static ConfigEntityHome getHome(Hashtable environment)
          Obtain remote home interface from parameterised initial context
static ConfigEntityLocalHome getLocalHome()
          Obtain local home interface from default initial context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigEntityJNDIUtil

public ConfigEntityJNDIUtil()
Method Detail

getHome

public static ConfigEntityHome getHome()
                                throws NamingException
Obtain remote home interface from default initial context

Returns:
Home interface for ConfigEntity. Lookup using JNDI_NAME
Throws:
NamingException

getHome

public static ConfigEntityHome getHome(Hashtable environment)
                                throws NamingException
Obtain remote home interface from parameterised initial context

Parameters:
environment - Parameters to use for creating initial context
Returns:
Home interface for ConfigEntity. Lookup using JNDI_NAME
Throws:
NamingException

getLocalHome

public static ConfigEntityLocalHome getLocalHome()
                                          throws NamingException
Obtain local home interface from default initial context

Returns:
Local home interface for ConfigEntity. Lookup using JNDI_NAME
Throws:
NamingException


Copyright 2007 The jCoderZ Project.