Class JNDIUtil


  • public class JNDIUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JNDIUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean isNullOrEmpty​(java.lang.String str)  
      static void jndiNameSecurityCheck​(java.lang.String name)  
      static java.lang.Object lookupObject​(javax.naming.Context ctx, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • JNDIUtil

        public JNDIUtil()
    • Method Detail

      • lookupObject

        public static java.lang.Object lookupObject​(javax.naming.Context ctx,
                                                    java.lang.String name)
                                             throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isNullOrEmpty

        private static boolean isNullOrEmpty​(java.lang.String str)
      • jndiNameSecurityCheck

        public static void jndiNameSecurityCheck​(java.lang.String name)
                                          throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException