org.exolab.jms.jndi.intravm
Class IntravmJndiInitialContextFactory

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

public class IntravmJndiInitialContextFactory
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.5 $ $Date: 2003/08/07 13:32:58 $
Author:
Jim Alateras

Constructor Summary
IntravmJndiInitialContextFactory()
          This class is required to have a default constructor
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable environment)
          This routine will get the singleton instance of the IntravmJndiServer and then call get initial contsxt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntravmJndiInitialContextFactory

public IntravmJndiInitialContextFactory()
This class is required to have a default constructor
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable environment)
                                       throws javax.naming.NamingException
This routine will get the singleton instance of the IntravmJndiServer and then call get initial contsxt.
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:
the initial context


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