|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.nhindirect.dns.module.DNSServerModule
public class DNSServerModule
Guice module for configuring and creating DNSServer instances. Allows configuration either using just a URL to
a configuration service, or more advanced options by using providers.
| Method Summary | |
|---|---|
static DNSServerModule |
create(com.google.inject.Provider<DNSStore> dnsStore)
Creates a module using a specific DNSStore provider and default server settings. |
static DNSServerModule |
create(com.google.inject.Provider<DNSStore> dnsStore,
com.google.inject.Provider<DNSServerSettings> settings)
Creates a module using specific DNSStore and DNSServerSettings providers |
static DNSServerModule |
create(URL configServiceURL)
Creates a module using just a configuration URL. |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
configure |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DNSServerModule create(URL configServiceURL)
configServiceURL - A URL that provides the location to the configuration service.
public static DNSServerModule create(com.google.inject.Provider<DNSStore> dnsStore)
DNSStore provider and default server settings.
dnsStore - A provider used to create instances of the DNSStore.
public static DNSServerModule create(com.google.inject.Provider<DNSStore> dnsStore,
com.google.inject.Provider<DNSServerSettings> settings)
DNSStore and DNSServerSettings providers
dnsStore - A provider used to create instances of the DNSStore.settings - A provider used to create instances of the DNSServerSettings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||