|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jnp.interfaces.NamingContextFactory (src)
org.jboss.naming.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.
NamingContextFactory
(src) Field Summary | |
static java.lang.ThreadLocal |
lastInitialContextEnv
|
Constructor Summary | |
NamingContextFactory()
|
Method Summary | |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
|
Methods inherited from class org.jnp.interfaces.NamingContextFactory (src) |
getObjectInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.ThreadLocal lastInitialContextEnv
Constructor Detail |
public NamingContextFactory()
Method Detail |
public javax.naming.Context getInitialContext(java.util.Hashtable env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
getInitialContext
in class NamingContextFactory (src)
javax.naming.NamingException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |