C - configuration typepublic abstract class DropwizardAwareModule<C extends io.dropwizard.Configuration> extends com.google.inject.AbstractModule implements EnvironmentAwareModule, BootstrapAwareModule<C>, ConfigurationAwareModule<C>
| Constructor and Description |
|---|
DropwizardAwareModule() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
appPackage() |
protected io.dropwizard.setup.Bootstrap<C> |
bootstrap() |
protected C |
configuration() |
protected io.dropwizard.setup.Environment |
environment() |
void |
setBootstrap(io.dropwizard.setup.Bootstrap<C> bootstrap)
Method will be called just before injector initialization.
|
void |
setConfiguration(C 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, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic void setConfiguration(C configuration)
ConfigurationAwareModulesetConfiguration in interface ConfigurationAwareModule<C extends io.dropwizard.Configuration>configuration - configuration objectpublic void setBootstrap(io.dropwizard.setup.Bootstrap<C> bootstrap)
BootstrapAwareModulesetBootstrap in interface BootstrapAwareModule<C extends io.dropwizard.Configuration>bootstrap - bootstrap objectpublic void setEnvironment(io.dropwizard.setup.Environment environment)
EnvironmentAwareModulesetEnvironment in interface EnvironmentAwareModuleenvironment - environment objectprotected io.dropwizard.setup.Bootstrap<C> bootstrap()
protected C configuration()
protected io.dropwizard.setup.Environment environment()
protected java.lang.String appPackage()