org.jcoderz.commons.connector.http
Class HttpConnectorSessionUtil

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

public class HttpConnectorSessionUtil
extends Object

Utility class for HttpConnectorSession.


Constructor Summary
HttpConnectorSessionUtil()
           
 
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

HttpConnectorSessionUtil

public HttpConnectorSessionUtil()
Method Detail

getHome

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

Returns:
Home interface for HttpConnectorSession. Lookup using COMP_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 COMP_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 COMP_NAME
Throws:
NamingException


Copyright 2007 The jCoderZ Project.