|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| 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 | |
|---|---|
javax.naming.Context |
newInitialContext()
Creates a new JNDI initial context with the default JNDI environment properties. |
javax.naming.Context |
newInitialContext(java.util.Map environment)
Creates a new JNDI initial context with the specified JNDI environment properties. |
javax.naming.directory.DirContext |
newInitialDirContext()
Creates a new initial DirContext with the default JNDI environment properties. |
javax.naming.directory.DirContext |
newInitialDirContext(java.util.Map environment)
Creates a new initial DirContext with the specified JNDI environment properties. |
| Method Detail |
|---|
javax.naming.Context newInitialContext()
throws javax.naming.NamingException
javax.naming.NamingException - upon any error that occurs during context
creation
javax.naming.Context newInitialContext(java.util.Map environment)
throws javax.naming.NamingException
environment - JNDI environment properties specified by caller
javax.naming.NamingException - upon any error that occurs during context
creation
javax.naming.directory.DirContext newInitialDirContext()
throws javax.naming.NamingException
javax.naming.NamingException - upon any error that occurs during context
creation
javax.naming.directory.DirContext newInitialDirContext(java.util.Map environment)
throws javax.naming.NamingException
environment - JNDI environment properties specified by the caller
javax.naming.NamingException - upon any error that occurs during context
creation
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||