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 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 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 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 environment) throws NamingException
environment
- JNDI environment properties specified by the callerNamingException
- upon any error that occurs during context
creationCopyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0