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

public class SpincastDictionaryPluginModule extends SpincastGuiceModuleBase
Spincast Dictionary plugin module.
  • Constructor Details

    • SpincastDictionaryPluginModule

      public SpincastDictionaryPluginModule()
    • SpincastDictionaryPluginModule

      public SpincastDictionaryPluginModule(Class<? extends Dictionary> dictionaryImplClass)
    • 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

      protected Class<? extends Dictionary> getSpecificDictionaryImplClass()
    • configure

      protected void configure()
      Specified by:
      configure in class SpincastGuiceModuleBase
    • bindSpincastDictionary

      protected void bindSpincastDictionary()
    • getDictionaryImplClass

      protected Class<? extends Dictionary> getDictionaryImplClass()
    • getDefaultDictionaryImplClass

      protected Class<? extends Dictionary> getDefaultDictionaryImplClass()