public class WSDNSServerConfig extends Object implements DNSServerConfig
| Constructor and Description |
|---|
WSDNSServerConfig(URL configServiceLocation,
com.google.inject.Provider<DNSStore> storeProvider,
com.google.inject.Provider<DNSServerSettings> settings)
Construct and configuration component with the location of the configuration file and an optional provider for creating
instances of the DNSServer.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Injector |
getServerInjector()
Gets a Guide Injector that can be used to create
DNSServer objects based on configuration information. |
public WSDNSServerConfig(URL configServiceLocation, com.google.inject.Provider<DNSStore> storeProvider, com.google.inject.Provider<DNSServerSettings> settings)
configFile - The full path of the XML configuration file.storeProvider - An option provider used for creating instances of the DNSStore. If the provider is
null, a default provider is used.public com.google.inject.Injector getServerInjector()
DNSServer objects based on configuration information.getServerInjector in interface DNSServerConfigDNSServer objects.Copyright © 2010-2015 The Direct Project. All Rights Reserved.