public class JavaxResolver extends java.lang.Object implements DNSResolver
Modifier and Type | Method and Description |
---|---|
static DNSResolver |
getInstance() |
static boolean |
isSupported() |
java.util.List<SRVRecord> |
lookupSRVRecords(java.lang.String name)
Gets a list of service records for the specified service.
|
public static DNSResolver getInstance()
public static boolean isSupported()
public java.util.List<SRVRecord> lookupSRVRecords(java.lang.String name) throws javax.naming.NamingException
DNSResolver
lookupSRVRecords
in interface DNSResolver
name
- The symbolic name of the service.javax.naming.NamingException