org.exolab.jms.jndi
Class InitialContextFactory

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

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

A factory that creates an initial context to an embedded OpenJMS JNDI provider.

Version:
$Revision: 1.3 $ $Date: 2003/08/17 01:32:23 $
Author:
Tim Anderson

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

InitialContextFactory

public InitialContextFactory()
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.