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 whenDropwizardAwareModule
should be unique, but it is impossible to also extendUniqueModule
. Read their javadocs for more details as current class combines abilities of both.- Since:
- 13.12.2019
-
-
Constructor Summary
Constructors Constructor Description UniqueDropwizardAwareModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class ru.vyarus.dropwizard.guice.module.support.DropwizardAwareModule
appPackage, bootstrap, configuration, configuration, configuration, configurations, configurationTree, environment, options, setBootstrap, setConfiguration, setConfigurationTree, setEnvironment, setOptions, sharedState, sharedState, sharedStateOrFail, shareState
-
Methods 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, requestStaticInjection, requireBinding, requireBinding
-
-