Package io.grpc.internal
Class JndiResourceResolverFactory.JndiRecordFetcher
- java.lang.Object
-
- io.grpc.internal.JndiResourceResolverFactory.JndiRecordFetcher
-
- All Implemented Interfaces:
JndiResourceResolverFactory.RecordFetcher
- Enclosing class:
- JndiResourceResolverFactory
static final class JndiResourceResolverFactory.JndiRecordFetcher extends java.lang.Object implements JndiResourceResolverFactory.RecordFetcher
-
-
Constructor Summary
Constructors Constructor Description 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)
-
-
-
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 interfaceJndiResourceResolverFactory.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()
-
-