public class SpincastCoreGuiceModule extends SpincastGuiceModuleBase
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastCoreGuiceModule()
Constructor
|
SpincastCoreGuiceModule(String[] mainArgs)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindDefaultPredefinedRouteParamPatternsBinder() |
protected void |
bindFrontController() |
protected void |
bindJsonObjectFactory() |
protected void |
bindMainArgs() |
protected void |
bindRequestContextBaseDeps() |
protected void |
bindRequestContextFactory() |
protected void |
bindRequestContextInRequestScope() |
protected void |
bindRequestContextType() |
protected void |
bindSpincastFilters() |
protected void |
bindSpincastRequestScope() |
protected void |
bindSpincastUtilsClass() |
protected void |
bindSSLContextFactory() |
protected void |
bindWebsocketContextFactory() |
protected void |
bindWebsocketContextType() |
protected void |
bindWebsocketEndpointHandlerFactory() |
protected void |
bindWebsocketEndpointToControllerManager() |
protected void |
configure() |
protected Class<? extends ICorsFilter> |
getCorsFilterClass() |
protected com.google.inject.Key<?> |
getFrontControllerKey() |
protected com.google.inject.Key<?> |
getJsonArrayKey() |
protected com.google.inject.Key<?> |
getJsonObjectKey() |
protected String[] |
getMainArgs() |
protected Class<? extends IRequestContext<?>> |
getRequestContextImplementationClass()
The implementation to use for the request context objects.
|
protected Type |
getRequestContextType()
The type of the request context objects.
|
protected com.google.inject.Key<SpincastFilters> |
getSpincastFiltersKey() |
protected com.google.inject.Key<?> |
getSpincastUtilsKey() |
protected Class<? extends ISSLContextFactory> |
getSSLContextFactoryClass() |
protected Class<? extends IWebsocketContext<?>> |
getWebsocketContextImplementationClass()
The implementation to use for the Websocket context objects.
|
protected Type |
getWebsocketContextType()
The type of the Websocket context objects.
|
protected com.google.inject.Key<?> |
getWebsocketEndpointHandlerKey() |
protected Class<? extends IWebsocketEndpointToControllerManager> |
getWebsocketEndpointToControllerKeysMapClass() |
protected void |
validateRequirements()
Validates the bindings that have to be done by other modules.
|
parameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContextaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected String[] getMainArgs()
protected void configure()
configure in class com.google.inject.AbstractModuleprotected void validateRequirements()
protected void bindMainArgs()
protected void bindRequestContextType()
protected void bindWebsocketContextType()
protected void bindSpincastRequestScope()
protected void bindRequestContextInRequestScope()
protected void bindRequestContextBaseDeps()
protected Type getRequestContextType()
SpincastGuiceModuleBasegetRequestContextType in class SpincastGuiceModuleBaseprotected Type getWebsocketContextType()
SpincastGuiceModuleBasegetWebsocketContextType in class SpincastGuiceModuleBaseprotected void bindSpincastFilters()
protected Class<? extends ICorsFilter> getCorsFilterClass()
protected com.google.inject.Key<SpincastFilters> getSpincastFiltersKey()
protected void bindDefaultPredefinedRouteParamPatternsBinder()
protected void bindRequestContextFactory()
protected void bindFrontController()
protected void bindSpincastUtilsClass()
protected void bindJsonObjectFactory()
protected Class<? extends IRequestContext<?>> getRequestContextImplementationClass()
protected Class<? extends IWebsocketContext<?>> getWebsocketContextImplementationClass()
protected com.google.inject.Key<?> getFrontControllerKey()
protected com.google.inject.Key<?> getSpincastUtilsKey()
protected com.google.inject.Key<?> getJsonObjectKey()
protected com.google.inject.Key<?> getJsonArrayKey()
protected void bindWebsocketEndpointHandlerFactory()
protected com.google.inject.Key<?> getWebsocketEndpointHandlerKey()
protected void bindWebsocketContextFactory()
protected void bindWebsocketEndpointToControllerManager()
protected Class<? extends IWebsocketEndpointToControllerManager> getWebsocketEndpointToControllerKeysMapClass()
protected void bindSSLContextFactory()
protected Class<? extends ISSLContextFactory> getSSLContextFactoryClass()
Copyright © 2016. All rights reserved.