org.exolab.jms.server.intravm
Class IntravmJndiServer

java.lang.Object
  extended by org.exolab.jms.server.intravm.IntravmJndiServer
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory, JndiServerIfc

public class IntravmJndiServer
extends java.lang.Object
implements JndiServerIfc, javax.naming.spi.InitialContextFactory

This class enables clients to interface to the embedded JNDI provider using the embedded connector

Version:
$Revision: 1.2 $ $Date: 2003/08/07 13:33:09 $
Author:
Jim Alateras, Tim Anderson

Constructor Summary
IntravmJndiServer(javax.naming.Context context)
          Construct a new IntravmJndiServer
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable environment)
          Creates an initial context for beginning name resolution
static IntravmJndiServer getInstance()
          Returns the singleton instance
 void init()
          Initialise the JNDI service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntravmJndiServer

public IntravmJndiServer(javax.naming.Context context)
Construct a new IntravmJndiServer

Method Detail

init

public void init()
Initialise the JNDI service

Specified by:
init in interface JndiServerIfc

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable environment)
                                       throws javax.naming.NamingException
Creates an initial context for beginning name resolution

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

getInstance

public static IntravmJndiServer getInstance()
Returns the singleton instance



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