|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.naming.InitialContextFactoryImpl
public class InitialContextFactoryImpl
Returns the JNDI context for the current classloader. Since each thread will normally have its own current class loader, the actual JNDI context is stored in the contextClassLoader.
Constructor Summary | |
---|---|
InitialContextFactoryImpl()
Constructor with an initial root. |
Method Summary | |
---|---|
static javax.naming.Context |
createInitialContext()
|
static AbstractModel |
createRoot()
|
static AbstractModel |
getContextModel()
Sets the model for the current class loader. |
javax.naming.Context |
getInitialContext(java.util.Hashtable<?,?> env)
Returns the initial context for the current thread. |
static void |
setContextModel(AbstractModel model)
Sets the model for the current class loader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitialContextFactoryImpl()
Method Detail |
---|
public static AbstractModel getContextModel()
public static void setContextModel(AbstractModel model)
public static AbstractModel createRoot()
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
javax.naming.NamingException
public static javax.naming.Context createInitialContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |