Class CNCtxFactory

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

    public class CNCtxFactory
    extends java.lang.Object
    implements javax.naming.spi.InitialContextFactory
    Implements the JNDI SPI InitialContextFactory interface used to create the InitialContext objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      CNCtxFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.naming.Context getInitialContext​(java.util.Hashtable<?,​?> env)
      Creates the InitialContext object.
      • Methods inherited from class java.lang.Object

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

      • CNCtxFactory

        public CNCtxFactory()
    • Method Detail

      • getInitialContext

        public javax.naming.Context getInitialContext​(java.util.Hashtable<?,​?> env)
                                               throws javax.naming.NamingException
        Creates the InitialContext object. Properties parameter should should contain the ORB object for the value jndi.corba.orb.
        Specified by:
        getInitialContext in interface javax.naming.spi.InitialContextFactory
        Parameters:
        env - Properties object
        Throws:
        javax.naming.NamingException