org.jcoderz.commons.config
Class ConfigurationServiceUtil

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

public class ConfigurationServiceUtil
extends Object

Utility class for ConfigurationService.


Constructor Summary
ConfigurationServiceUtil()
           
 
Method Summary
static ConfigurationServiceHome getHome()
          Obtain remote home interface from default initial context
static ConfigurationServiceHome getHome(Hashtable environment)
          Obtain remote home interface from parameterised initial context
static ConfigurationServiceLocalHome 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

ConfigurationServiceUtil

public ConfigurationServiceUtil()
Method Detail

getHome

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

Returns:
Home interface for ConfigurationService. Lookup using COMP_NAME
Throws:
NamingException

getHome

public static ConfigurationServiceHome 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 ConfigurationService. Lookup using COMP_NAME
Throws:
NamingException

getLocalHome

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

Returns:
Local home interface for ConfigurationService. Lookup using COMP_NAME
Throws:
NamingException


Copyright 2007 The jCoderZ Project.