Class SpincastAttemptsLimiterPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.attemptslimiter.SpincastAttemptsLimiterPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
Spincast Attempts Limiter plugin module.
-
Constructor Summary
ConstructorDescriptionSpincastAttemptsLimiterPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Class<? extends AttemptRule>
protected Class<? extends AttemptsManager>
protected Class<? extends SpincastAttemptsLimiterPluginConfig>
protected Class<? extends SpincastAttemptsLimiterPluginScheduledTaskProvider>
Methods inherited from class org.spincast.core.guice.SpincastGuiceModuleBase
getRequestContextImplementationClass, getRequestContextInterface, getWebsocketContextImplementationClass, getWebsocketContextInterface, install, parameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContext, setRequestContextImplementationClass, setWebsocketContextImplementationClass
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SpincastAttemptsLimiterPluginModule
public SpincastAttemptsLimiterPluginModule() -
SpincastAttemptsLimiterPluginModule
public SpincastAttemptsLimiterPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
getAttemptImplClass
-
getAttemptRuleClass
-
getSpincastAttemptsLimiterPluginConfigImpl
protected Class<? extends SpincastAttemptsLimiterPluginConfig> getSpincastAttemptsLimiterPluginConfigImpl() -
getAttemptsManagerImpl
-
getSpincastAttemptsLimiterPluginScheduledTaskProviderImplClass
protected Class<? extends SpincastAttemptsLimiterPluginScheduledTaskProvider> getSpincastAttemptsLimiterPluginScheduledTaskProviderImplClass()
-