当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
NamingContextFactory (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
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 org.jnp.interfaces.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: 1.3 $
- Author:
- Scott.Stark@jboss.org
- See Also:
NamingContextFactory
Methods inherited from class org.jnp.interfaces.NamingContextFactory |
getObjectInstance |
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
- Throws:
NamingException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.