org.jboss.naming
Class NamingContextFactory
java.lang.Object
org.jnp.interfaces.NamingContextFactory
org.jboss.naming.NamingContextFactory
- All Implemented Interfaces:
- InitialContextFactory, ObjectFactory
public class NamingContextFactory
- extends NamingContextFactory
A variation of the org.jnp.interfaces.NamingContextFactory
InitialContextFactory implementation that maintains the last envrionment
used to create an InitialContext in a thread local variable for
access within the scope of the InitialContext. This can be used by
the EJB handles to save the context that should be used to perform the
looks when the handle is restored.
- Version:
- $Revision: 60318 $
- Author:
- Scott.Stark@jboss.org
- See Also:
NamingContextFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastInitialContextEnv
public static final ThreadLocal lastInitialContextEnv
NamingContextFactory
public NamingContextFactory()
getInitialContext
public Context getInitialContext(Hashtable env)
throws NamingException
- Specified by:
getInitialContext
in interface InitialContextFactory
- Overrides:
getInitialContext
in class NamingContextFactory
- Throws:
NamingException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.