Class JNDIUtil


  • @Deprecated(since="2022-01-27")
    public class JNDIUtil
    extends java.lang.Object
    Deprecated.
    A simple utility class to create and use a JNDI Context.
    • Constructor Summary

      Constructors 
      Constructor Description
      JNDIUtil()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static javax.naming.Context getInitialContext()
      Deprecated.
       
      static java.lang.String lookup​(javax.naming.Context ctx, java.lang.String name)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • JNDIUtil

        public JNDIUtil()
        Deprecated.
    • Method Detail

      • getInitialContext

        public static javax.naming.Context getInitialContext()
                                                      throws javax.naming.NamingException
        Deprecated.
        Throws:
        javax.naming.NamingException
      • lookup

        public static java.lang.String lookup​(javax.naming.Context ctx,
                                              java.lang.String name)
                                       throws javax.naming.NamingException
        Deprecated.
        Throws:
        javax.naming.NamingException