org.exolab.jms.jndi.mipc
Class IpcJndiInitialContextFactory

java.lang.Object
  |
  +--org.exolab.jms.jndi.mipc.IpcJndiInitialContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class IpcJndiInitialContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

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.22.2.1 $ $Date: 2004/05/01 06:10:04 $
Author:
Jim Mourikis
See Also:
IpcJndiServer

Constructor Summary
IpcJndiInitialContextFactory()
          Default constructor
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable environment)
          Creates an initial context for beginning name resolution, based on the Context.PROVIDER_URL attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpcJndiInitialContextFactory

public IpcJndiInitialContextFactory()
Default constructor
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable environment)
                                       throws javax.naming.NamingException
Creates an initial context for beginning name resolution, based on the Context.PROVIDER_URL attribute.
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
environment - the environment specifying information to be used in the creation of the initial context.
Returns:
an initial context
Throws:
javax.naming.NamingException - if the initial context cannot be created


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