com.couchbase.client.core.deps.org.xbill.DNS.spi.DNSJavaNameServiceDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-io Show documentation
Show all versions of core-io Show documentation
The official Couchbase JVM Core IO Library
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2005 Brian Wellington ([email protected])
package com.couchbase.client.core.deps.org.xbill.DNS.spi;
import sun.net.spi.nameservice.NameService;
import sun.net.spi.nameservice.NameServiceDescriptor;
/**
* The descriptor class for the dnsjava name service provider.
*
* @author Brian Wellington
* @author Paul Cowan ([email protected])
*/
public class DNSJavaNameServiceDescriptor implements NameServiceDescriptor {
/** Returns a reference to a dnsjava name server provider. */
@Override
public NameService createNameService() {
return new DNSJavaNameService();
}
@Override
public String getType() {
return "dns";
}
@Override
public String getProviderName() {
return "dnsjava";
}
}