|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InitialContextFactory
Defines a factory that creates the initial context for the beginning of the name resolution. JNDI allows to specify different implementations of the initial context at runtime.
The class, implementing this interface, must be public and have a public parameterless constructor
Method Summary | |
---|---|
Context |
getInitialContext(Hashtable<?,?> environment)
Create a new initial context |
Method Detail |
---|
Context getInitialContext(Hashtable<?,?> environment) throws NamingException
environment
- the properties, used when creating the context. The
implementing class will not modify the table nor keep the
reference to it. After the method returns, the caller can safely
reuse the table for other purposes.
NamingException
- if the naming exception has occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |