org.jcoderz.commons
Class CommonsTestRunnerSessionJNDIUtil

java.lang.Object
  extended by org.jcoderz.commons.CommonsTestRunnerSessionJNDIUtil

public class CommonsTestRunnerSessionJNDIUtil
extends Object

Utility class for CommonsTestRunnerSession.


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

CommonsTestRunnerSessionJNDIUtil

public CommonsTestRunnerSessionJNDIUtil()
Method Detail

getHome

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

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

getHome

public static CommonsTestRunnerSessionHome 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 CommonsTestRunnerSession. Lookup using JNDI_NAME
Throws:
NamingException

getLocalHome

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

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


Copyright 2007 The jCoderZ Project.