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