public class JavaxResolver extends Object implements SmackInitializer, DNSResolver
| Constructor and Description |
|---|
JavaxResolver() |
| Modifier and Type | Method and Description |
|---|---|
static DNSResolver |
getInstance() |
List<Exception> |
initialize() |
static boolean |
isSupported() |
List<SRVRecord> |
lookupSRVRecords(String name)
Gets a list of service records for the specified service.
|
static void |
setup() |
public JavaxResolver()
public static DNSResolver getInstance()
public static boolean isSupported()
public static void setup()
public List<SRVRecord> lookupSRVRecords(String name) throws NamingException
DNSResolverlookupSRVRecords in interface DNSResolvername - The symbolic name of the service.NamingExceptionpublic List<Exception> initialize()
initialize in interface SmackInitializer