Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » javax » naming » spi » [javadoc | source]
javax.naming.spi
public interface: InitialContextFactory [javadoc | source] 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.
Method from javax.naming.spi.InitialContextFactory Summary:
getInitialContext
Method from javax.naming.spi.InitialContextFactory Detail:
 public Context getInitialContext(Hashtable<?, ?> envmt) throws NamingException
    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.