Package org.osjava.sj

Class SimpleContextFactory

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

    public class SimpleContextFactory
    extends java.lang.Object
    implements javax.naming.spi.InitialContextFactory
    Initial Context Factory for SimpleContexts
    Since:
    Simple-JNDI 0.11
    Version:
    $Rev: 1743 $ $Date: 2005-06-24 19:56:40 -0400 (Fri, 24 Jun 2005) $
    Author:
    Henri Yandell
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleContextFactory()
      Create a SimpleContextFactory
    • 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

      • SimpleContextFactory

        public SimpleContextFactory()
        Create a SimpleContextFactory
    • 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
        See Also:
        InitialContextFactory.getInitialContext(java.util.Hashtable)