Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » naming » [javadoc | source]
org.jboss.naming
public class: NamingContextFactory [javadoc | source]
java.lang.Object
   org.jnp.interfaces.NamingContextFactory
      org.jboss.naming.NamingContextFactory

Direct Known Subclasses:
    JndiLoginInitialContextFactory

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.
Field Summary
public static final  ThreadLocal lastInitialContextEnv     
Method from org.jboss.naming.NamingContextFactory Summary:
getInitialContext
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.naming.NamingContextFactory Detail:
 public Context getInitialContext(Hashtable env) throws NamingException