public class AppModule extends SpincastDefaultGuiceModule
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindConfigPlugin()
We use our application config class instead of the
default one for the SpincastConfig interface.
|
protected void |
bindRoutingPlugin()
Inline, we override the router implementation bound by the
"spincast-routing" plugin, so our custom class is used.
|
protected void |
configure() |
protected Class<? extends org.spincast.core.exchange.RequestContext<?>> |
getRequestContextImplementationClass() |
bindCookiesPlugin, bindDictionaryPlugin, bindHttpCachingPlugin, bindLocaleResolverPlugin, bindRequestPlugin, bindResponsePlugin, bindServerPlugin, bindTemplatingEnginePlugin, bindTemplatingPlugin, bindVariablesPlugin, binJsonManagerPlugin, binXmlManagerPluginbindDefaultPredefinedRouteParamPatternsBinder, bindFlashMessageFactory, bindFlashMessagesHolder, bindFrontController, bindJsonObjectFactory, bindMainArgs, bindObjectConverter, bindRequestContextBaseDeps, bindRequestContextFactory, bindRequestContextInRequestScope, bindRequestContextType, bindSpincastFilters, bindSpincastInitValidator, bindSpincastRequestScope, bindSpincastUtilsClass, bindSSLContextFactory, bindValidationFactory, bindWebsocketContextFactory, bindWebsocketContextType, bindWebsocketEndpointHandlerFactory, bindWebsocketEndpointToControllerManager, getCorsFilterClass, getFlashMessageImplClass, getFlashMessagesHolderImplClass, getFrontControllerKey, getJsonArrayImplClass, getJsonArrayValidationBuilderKeyImplClass, getJsonArrayValidationSetImplClass, getJsonObjectImplClass, getJsonObjectValidationBuilderKeyImplClass, getJsonObjectValidationSetImplClass, getMainArgs, getObjectConverterImplClass, getRequestContextType, getSpincastFiltersKey, getSpincastUtilsKey, getSSLContextFactoryClass, getValidationBuilderArrayImplClass, getValidationBuilderCoreImplClass, getValidationBuilderKeyImplClass, getValidationBuilderTargetImplClass, getValidationMessageImplClass, getValidationResultBuilderImplClass, getWebsocketContextImplementationClass, getWebsocketContextType, getWebsocketEndpointHandlerKey, getWebsocketEndpointToControllerKeysMapClass, validateRequirementsparameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContextaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic AppModule(String[] mainArgs)
protected void configure()
configure in class SpincastDefaultGuiceModuleprotected void bindConfigPlugin()
bindConfigPlugin in class SpincastDefaultGuiceModuleprotected Class<? extends org.spincast.core.exchange.RequestContext<?>> getRequestContextImplementationClass()
getRequestContextImplementationClass in class org.spincast.core.guice.SpincastCoreGuiceModuleprotected void bindRoutingPlugin()
bindRoutingPlugin in class SpincastDefaultGuiceModuleCopyright © 2016. All rights reserved.