| Modifier and Type | Method and Description |
|---|---|
| public Context | Returns: an instance of javax.naming.ContextCreates a new JNDI initial context with the default JNDI environment properties. |
| public Context | Returns: an instance of javax.naming.ContextJNDI environment properties specified by caller environment)Creates a new JNDI initial context with the specified JNDI environment properties. |
| public DirContext | Returns: an instance of javax.naming.directory.DirContextCreates a new initial DirContext with the default JNDI environment properties. |
| public DirContext | Returns: an instance of javax.naming.directory.DirContextJNDI environment properties specified by the caller environment)Creates a new initial DirContext with the specified JNDI environment properties. |
| newInitialContext | back to summary |
|---|---|
| public Context newInitialContext() throws NamingException Creates a new JNDI initial context with the default JNDI environment properties.
| |
| newInitialContext | back to summary |
|---|---|
| public Context newInitialContext(Map<String, ?> environment) throws NamingException Creates a new JNDI initial context with the specified JNDI environment properties.
| |
| newInitialDirContext | back to summary |
|---|---|
| public DirContext newInitialDirContext() throws NamingException Creates a new initial DirContext with the default JNDI environment properties.
| |
| newInitialDirContext | back to summary |
|---|---|
| public DirContext newInitialDirContext(Map<String, ?> environment) throws NamingException Creates a new initial DirContext with the specified JNDI environment properties.
| |