org.nhindirect.dns.provider
Class WSDNSServerConfigProvider

java.lang.Object
  extended by org.nhindirect.dns.provider.WSDNSServerConfigProvider
All Implemented Interfaces:
com.google.inject.Provider<DNSServerConfig>

public class WSDNSServerConfigProvider
extends Object
implements com.google.inject.Provider<DNSServerConfig>

Configuration provider for web service based configuration of the DNS Server.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
WSDNSServerConfigProvider(URL configURL, com.google.inject.Provider<DNSStore> storeProvider, com.google.inject.Provider<DNSServerSettings> settings)
          Creates a provider with the location of the configuration service and an optional DNSStore provider.
 
Method Summary
 DNSServerConfig get()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDNSServerConfigProvider

public WSDNSServerConfigProvider(URL configURL,
                                 com.google.inject.Provider<DNSStore> storeProvider,
                                 com.google.inject.Provider<DNSServerSettings> settings)
Creates a provider with the location of the configuration service and an optional DNSStore provider.

Parameters:
configURL - A URL that contains the location of the configuration service.
storeProvider - An option provider used for creating specific instances of a DNSStore
settings - Optional DNS server settings. Overridden by settings from the configuration service.
Method Detail

get

public DNSServerConfig get()

Specified by:
get in interface com.google.inject.Provider<DNSServerConfig>


Copyright © 2010-2015 The Direct Project. All Rights Reserved.