Class InitialContextFactory

  • All Implemented Interfaces:
    javax.naming.spi.InitialContextFactory

    public class InitialContextFactory
    extends java.lang.Object
    implements javax.naming.spi.InitialContextFactory
    InitialContextFactory.java Factory for the default InitialContext. Created: Tue Jul 1 19:08:08 2003
    Version:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.naming.Context getInitialContext​(java.util.Hashtable env)
      Get Context that has access to default Namespace.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InitialContextFactory

        public InitialContextFactory()
    • Method Detail

      • getInitialContext

        public javax.naming.Context getInitialContext​(java.util.Hashtable env)
        Get Context that has access to default Namespace. This method won't be called if a name URL beginning with java: is passed to an InitialContext.
        Specified by:
        getInitialContext in interface javax.naming.spi.InitialContextFactory
        Parameters:
        env - a Hashtable value
        Returns:
        a Context value
        See Also:
        javaURLContextFactory