|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JNDIContextManager
This interface defines the OSGi service interface for the JNDIContextManager. This service provides the ability to create new JNDI Context instances without relying on the InitialContext constructor.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Context newInitialContext() throws NamingException
NamingException
- upon any error that occurs during context
creationContext newInitialContext(Map<?,?> environment) throws NamingException
environment
- JNDI environment properties specified by caller
NamingException
- 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 caller
NamingException
- upon any error that occurs during context
creation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |