Package org.spincast.plugins.dictionary
Class SpincastDictionaryPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.dictionary.SpincastDictionaryPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
Spincast Dictionary plugin module.
-
Constructor Summary
ConstructorDescriptionSpincastDictionaryPluginModule
(Class<? extends Dictionary> dictionaryImplClass) SpincastDictionaryPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) SpincastDictionaryPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass, Class<? extends Dictionary> specificDictionaryImplClass) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected Class<? extends Dictionary>
protected Class<? extends Dictionary>
protected Class<? extends Dictionary>
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
-
SpincastDictionaryPluginModule
public SpincastDictionaryPluginModule() -
SpincastDictionaryPluginModule
-
SpincastDictionaryPluginModule
public SpincastDictionaryPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
SpincastDictionaryPluginModule
public SpincastDictionaryPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass, Class<? extends Dictionary> specificDictionaryImplClass) Constructor- Parameters:
dictionaryImplClass
- the specific dictionary implementation class to use.
-
-
Method Details
-
getSpecificDictionaryImplClass
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
bindSpincastDictionary
protected void bindSpincastDictionary() -
getDictionaryImplClass
-
getDefaultDictionaryImplClass
-