org.jcoderz.commons.connector.http
Class HttpConnectorSessionJNDIUtil

java.lang.Object
  extended by org.jcoderz.commons.connector.http.HttpConnectorSessionJNDIUtil

public class HttpConnectorSessionJNDIUtil
extends Object

Utility class for HttpConnectorSession.


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

HttpConnectorSessionJNDIUtil

public HttpConnectorSessionJNDIUtil()
Method Detail

getHome

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

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

getHome

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

getLocalHome

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

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


Copyright 2007 The jCoderZ Project.