org.jcoderz.commons.config
Class ConfigReaderEntityUtil

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

public class ConfigReaderEntityUtil
extends Object

This class provides utility methods for the home lookup of the ConfigReaderEntity entity bean.

Author:
generated

Constructor Summary
ConfigReaderEntityUtil()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReaderEntityUtil

public ConfigReaderEntityUtil()
Method Detail

getHome

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

Returns:
Home interface for ConfigReaderEntity, lookup using COMP_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 ConfigReaderEntity, lookup using COMP_NAME
Throws:
NamingException


Copyright 2007 The jCoderZ Project.