All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.couchbase.client.core.deps.org.xbill.DNS.spi.DNSJavaNameServiceDescriptor Maven / Gradle / Ivy

There is a newer version: 3.7.2
Show newest version
// 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";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy