Package org.spincast.plugins.config
Class SpincastConfigPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.config.SpincastConfigPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
Guice module for the Spincast Config Plugin.
-
Constructor Summary
ConstructorDescriptionSpincastConfigPluginModule
(Class<? extends SpincastConfig> specificConfigImplClass) SpincastConfigPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) SpincastConfigPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass, Class<? extends SpincastConfig> specificConfigImplClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Class<? extends SpincastConfig>
protected Class<? extends SpincastConfig>
protected Class<? extends SpincastConfig>
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
-
SpincastConfigPluginModule
public SpincastConfigPluginModule() -
SpincastConfigPluginModule
-
SpincastConfigPluginModule
public SpincastConfigPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
SpincastConfigPluginModule
public SpincastConfigPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass, Class<? extends SpincastConfig> specificConfigImplClass)
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
getSpecificConfigImplClass
-
getConfigImplClass
-
getDefaultConfigImplClass
-