Class UniqueDropwizardAwareModule<C extends io.dropwizard.core.Configuration>
java.lang.Object
com.google.inject.AbstractModule
ru.vyarus.dropwizard.guice.module.support.DropwizardAwareModule<C>
ru.vyarus.dropwizard.guice.module.context.unique.item.UniqueDropwizardAwareModule<C>
- Type Parameters:
C- configuration type
- All Implemented Interfaces:
com.google.inject.Module,BootstrapAwareModule<C>,ConfigurationAwareModule<C>,ConfigurationTreeAwareModule,EnvironmentAwareModule,OptionsAwareModule
public abstract class UniqueDropwizardAwareModule<C extends io.dropwizard.core.Configuration>
extends DropwizardAwareModule<C>
Base class for unique guice modules with access to dropwizard specific objects. Should be used
when
DropwizardAwareModule should be unique, but it is impossible to also extend UniqueModule.
Read their javadocs for more details as current class combines abilities of both.- Since:
- 13.12.2019
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ru.vyarus.dropwizard.guice.module.support.DropwizardAwareModule
annotatedConfiguration, annotatedConfiguration, appPackage, bootstrap, configuration, configuration, configuration, configurations, configurationTree, environment, options, setBootstrap, setConfiguration, setConfigurationTree, setEnvironment, setOptions, sharedState, sharedState, sharedStateOrFail, shareState, whenSharedStateReadyMethods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding