sun.net.spi.nameservice
Interface NameServiceDescriptor


public interface NameServiceDescriptor


Method Summary
 NameService createNameService()
          Create a new instance of the corresponding name service.
 String getProviderName()
          Returns this service provider's name
 String getType()
          Returns this name service type "dns" "nis" etc
 

Method Detail

createNameService

NameService createNameService()
                              throws Exception
Create a new instance of the corresponding name service.

Throws:
Exception

getProviderName

String getProviderName()
Returns this service provider's name


getType

String getType()
Returns this name service type "dns" "nis" etc