Class JNDIDummyInitialContext

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

    public class JNDIDummyInitialContext
    extends java.lang.Object
    implements javax.naming.spi.InitialContextFactory
    some of BUI lib features requires JNDI. This dummy would serve it when no JNDI is available.
    • Method Summary

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

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

      • JNDIDummyInitialContext

        public JNDIDummyInitialContext()
    • Method Detail

      • getInitialContext

        public javax.naming.Context getInitialContext​(java.util.Hashtable<?,​?> environment)
                                               throws javax.naming.NamingException
        Specified by:
        getInitialContext in interface javax.naming.spi.InitialContextFactory
        Throws:
        javax.naming.NamingException