Name
InitialContextFactory
Synopsis
This interface represents a factory that creates an initial context
for a naming or directory service. The initial context serves as the
entry point into the service. A JNDI service provider always includes
an InitialContextFactory
that can be used as the value of the
java.naming.factory.initial
property
public interface InitialContextFactory { // Public Instance Methods public abstract javax.naming.Context getInitialContext( java.util.Hashtable environment) throws NamingException; }
Returned By
InitialContextFactoryBuilder.createInitialContextFactory()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.