Class JndiResourceResolverFactory.JndiRecordFetcher

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static void checkAvailable()  
      private static void closeThenThrow​(javax.naming.directory.DirContext ctx, javax.naming.NamingException e)  
      private static void closeThenThrow​(javax.naming.NamingEnumeration<?> namingEnumeration, javax.naming.NamingException e)  
      java.util.List<java.lang.String> getAllRecords​(java.lang.String recordType, java.lang.String name)  
      • Methods inherited from class java.lang.Object

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

      • JndiRecordFetcher

        JndiRecordFetcher()
    • Method Detail

      • getAllRecords

        public java.util.List<java.lang.String> getAllRecords​(java.lang.String recordType,
                                                              java.lang.String name)
                                                       throws javax.naming.NamingException
        Specified by:
        getAllRecords in interface JndiResourceResolverFactory.RecordFetcher
        Throws:
        javax.naming.NamingException
      • closeThenThrow

        private static void closeThenThrow​(javax.naming.NamingEnumeration<?> namingEnumeration,
                                           javax.naming.NamingException e)
                                    throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • closeThenThrow

        private static void closeThenThrow​(javax.naming.directory.DirContext ctx,
                                           javax.naming.NamingException e)
                                    throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • checkAvailable

        private static void checkAvailable()