Important note : This factory MUST be associated with the "java" URL prefix, which can be done by either :
javax.naming.spi.NamingManager#getURLContext(String, java.util.Hashtable) .| Modifier and Type | Field and Description |
|---|---|
| protected static volatile Context | initialContext
Initial context. |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Context | getInitialContext(Hashtable<?, ?>
The possibly null environment
specifying information to be used in the creation
of the initial context. environment)Implements javax. Get a new (writable) initial context. |
| public Object | getObjectInstance(Object
The possibly null object containing location or reference
information that can be used in creating an object. obj, Name The name of this object relative to name, Context nameCtx,
or null if no name is specified.The context relative to which the nameCtx, Hashtable<?, ?> name
parameter is specified, or null if name is
relative to the default initial context.The possibly null environment that is used in
creating the object. environment)Implements javax. Crete a new Context's instance. |
| initialContext | back to summary |
|---|---|
| protected static volatile Context initialContext Initial context. | |
| MAIN | back to summary |
|---|---|
| public static final String MAIN | |
| javaURLContextFactory | back to summary |
|---|---|
| public javaURLContextFactory() | |
| getInitialContext | back to summary |
|---|---|
| public Context getInitialContext(Hashtable<?, ?> environment) throws NamingException Implements javax. Get a new (writable) initial context.
| |
| getObjectInstance | back to summary |
|---|---|
| public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws NamingException Implements javax. Crete a new Context's instance.
| |