org.exolab.jms.jndi.http
Class SslHttpJndiInitialContextFactory

java.lang.Object
  |
  +--org.exolab.jms.jndi.http.HttpJndiInitialContextFactory
        |
        +--org.exolab.jms.jndi.http.SslHttpJndiInitialContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class SslHttpJndiInitialContextFactory
extends HttpJndiInitialContextFactory

This is the client side helper class that retrieves the root context of the JNDI server. This class implements the InitialContextFactory interface.

Version:
$Revision: 1.8 $ $Date: 2003/08/07 13:32:58 $
Author:
Jim Mourikis

Fields inherited from class org.exolab.jms.jndi.http.HttpJndiInitialContextFactory
SERVLET
 
Constructor Summary
SslHttpJndiInitialContextFactory()
          Default constructor
 
Method Summary
protected  java.lang.String getProviderURL(java.util.Hashtable environment)
          Returns the JNDI provider URL
protected  org.exolab.core.http.HttpClient openConnection(java.lang.String url)
          Get a connection to the JNDI provider
 
Methods inherited from class org.exolab.jms.jndi.http.HttpJndiInitialContextFactory
getInitialContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslHttpJndiInitialContextFactory

public SslHttpJndiInitialContextFactory()
Default constructor
Method Detail

getProviderURL

protected java.lang.String getProviderURL(java.util.Hashtable environment)
                                   throws javax.naming.NamingException
Returns the JNDI provider URL
Overrides:
getProviderURL in class HttpJndiInitialContextFactory
Returns:
the JNDI provider URL
Throws:
javax.naming.NamingException - if the URL cannot be determined

openConnection

protected org.exolab.core.http.HttpClient openConnection(java.lang.String url)
                                                  throws javax.naming.NamingException
Get a connection to the JNDI provider
Overrides:
openConnection in class HttpJndiInitialContextFactory
Parameters:
url - the JNDI provider URL
Returns:
a connection to the JNDI provider
Throws:
javax.naming.NamingException - if a connection cannot be established


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.