com.caucho.server.http
Class JndiFactory

java.lang.Object
  |
  +--com.caucho.server.http.JndiFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

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

The state for a servlet application. Manages sessions, servlets, class loaders and configuration.


Constructor Summary
JndiFactory()
           
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable environment)
           
static javax.naming.Context initContext(RegistryNode registry, com.caucho.server.http.Application application, java.lang.ClassLoader loader, java.util.ArrayList dbPools, javax.naming.Context parentContext)
           
static void setThreadJndi(javax.naming.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiFactory

public JndiFactory()
Method Detail

setThreadJndi

public static void setThreadJndi(javax.naming.Context context)

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable environment)
                                       throws javax.naming.NamingException
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory

initContext

public static javax.naming.Context initContext(RegistryNode registry,
                                               com.caucho.server.http.Application application,
                                               java.lang.ClassLoader loader,
                                               java.util.ArrayList dbPools,
                                               javax.naming.Context parentContext)
                                        throws java.lang.Exception