public class InitialContextFactoryImpl
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory
Constructor and Description |
---|
InitialContextFactoryImpl()
Constructor with an initial root.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public InitialContextFactoryImpl()
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()