public interface JNDIContextManager
Modifier and Type | Method and Description |
---|---|
Context |
newInitialContext()
Creates a new JNDI initial context with the default JNDI environment
properties.
|
Context |
newInitialContext(Map<String,?> environment)
Creates a new JNDI initial context with the specified JNDI environment
properties.
|
DirContext |
newInitialDirContext()
Creates a new initial DirContext with the default JNDI environment
properties.
|
DirContext |
newInitialDirContext(Map<String,?> environment)
Creates a new initial DirContext with the specified JNDI environment
properties.
|
Context newInitialContext() throws NamingException
NamingException
- upon any error that occurs during context
creationContext newInitialContext(Map<String,?> environment) throws NamingException
environment
- JNDI environment properties specified by callerNamingException
- upon any error that occurs during context
creationDirContext newInitialDirContext() throws NamingException
NamingException
- upon any error that occurs during context
creationDirContext newInitialDirContext(Map<String,?> environment) throws NamingException
environment
- JNDI environment properties specified by the callerNamingException
- upon any error that occurs during context
creationCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0