T - configuration typepublic class GuiceSupportModule<T extends io.dropwizard.Configuration> extends com.google.inject.AbstractModule implements BootstrapAwareModule<T>, EnvironmentAwareModule, ConfigurationAwareModule<T>
| Constructor and Description |
|---|
GuiceSupportModule(ClasspathScanner scanner,
InstallerConfig installerConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
void |
setBootstrap(io.dropwizard.setup.Bootstrap<T> bootstrap)
Method will be called just before injector initialization.
|
void |
setConfiguration(T configuration)
Method will be called just before injector initialization.
|
void |
setEnvironment(io.dropwizard.setup.Environment environment)
Method will be called just before injector initialization.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic GuiceSupportModule(ClasspathScanner scanner, InstallerConfig installerConfig)
public void setBootstrap(io.dropwizard.setup.Bootstrap<T> bootstrap)
BootstrapAwareModulesetBootstrap in interface BootstrapAwareModule<T extends io.dropwizard.Configuration>bootstrap - bootstrap objectpublic void setConfiguration(T configuration)
ConfigurationAwareModulesetConfiguration in interface ConfigurationAwareModule<T extends io.dropwizard.Configuration>configuration - configuration objectpublic void setEnvironment(io.dropwizard.setup.Environment environment)
EnvironmentAwareModulesetEnvironment in interface EnvironmentAwareModuleenvironment - environment objectprotected void configure()
configure in class com.google.inject.AbstractModule