Class JNDIContextFactory


  • public class JNDIContextFactory
    extends java.lang.Object
    JNDIContextFactory - central source for JNDI Contexts by helper name
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearInitialContext​(java.lang.String jndiServerName)
      Removes an entry from the JNDI cache.
      static javax.naming.InitialContext getInitialContext​(java.lang.String jndiServerName)
      Return the initial context according to the entityengine.xml parameters that correspond to the given prefix
      • Methods inherited from class java.lang.Object

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

      • module

        public static final java.lang.String module
    • Constructor Detail

      • JNDIContextFactory

        public JNDIContextFactory()
    • Method Detail

      • getInitialContext

        public static javax.naming.InitialContext getInitialContext​(java.lang.String jndiServerName)
                                                             throws GenericConfigException
        Return the initial context according to the entityengine.xml parameters that correspond to the given prefix
        Returns:
        the JNDI initial context
        Throws:
        GenericConfigException
      • clearInitialContext

        public static void clearInitialContext​(java.lang.String jndiServerName)
        Removes an entry from the JNDI cache.
        Parameters:
        jndiServerName -