| javax.naming.spi.InitialContextFactory
InitialContextFactory | public interface InitialContextFactory (Code) | | An implementation of InitialContextFactory creates an initial
context so that the JNDI application can begin to invoke naming operations on
that context. The class implementing this interface should be public and
should also provide a public constructor taking no arguments.
|
getInitialContext | Context getInitialContext(Hashtable, ?> envmt) throws NamingException(Code) | | Returns a non-null initial context object on which naming operations can
be invoked. The specified envmt parameter may be null or
may be used to customize the requested Context object. The
implementation may clone or copy the envmt object, but
will not modify the original object.
Parameters: envmt - the context environment as a Hashtable a non-null initial context object throws: NamingException - if a naming exception occurs |
|
|