All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.core.guice.SpincastCorePluginModule.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






SpincastCorePluginModule (org.spincast:spincast-framework 1.0.0 API)












org.spincast.core.guice

Class SpincastCorePluginModule

    • Field Detail

      • isSpincastRequestScopedBound

        protected boolean isSpincastRequestScopedBound
    • Constructor Detail

      • SpincastCorePluginModule

        public SpincastCorePluginModule()
      • SpincastCorePluginModule

        public SpincastCorePluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
                                        Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
    • Method Detail

      • validateRequirements

        protected void validateRequirements()
        Validates the bindings that have to be done by other modules.
      • bindSpincastInitValidator

        protected void bindSpincastInitValidator()
      • bindRequestContextType

        protected void bindRequestContextType()
      • bindWebsocketContextType

        protected void bindWebsocketContextType()
      • bindSpincastRequestScope

        protected void bindSpincastRequestScope()
        Note that can only be called once. It can't be called a second time when we use Modules.override(com.google.inject.Module...)! For infos on custom scopes:
        See Also:
        https://github.com/google/guice/wiki/CustomScopes
      • bindRequestContextInRequestScope

        protected void bindRequestContextInRequestScope()
      • bindRequestContextBaseDeps

        protected void bindRequestContextBaseDeps()
      • bindSpincastFilters

        protected void bindSpincastFilters()
      • getCorsFilterClass

        protected Class<? extends CorsFilter> getCorsFilterClass()
      • bindDefaultPredefinedRouteParamPatternsBinder

        protected void bindDefaultPredefinedRouteParamPatternsBinder()
      • bindRequestContextFactory

        protected void bindRequestContextFactory()
      • bindFrontController

        protected void bindFrontController()
      • bindSpincastUtilsClass

        protected void bindSpincastUtilsClass()
      • bindJsonObjectFactory

        protected void bindJsonObjectFactory()
      • getFrontControllerKey

        protected com.google.inject.Key<?> getFrontControllerKey()
      • getSpincastUtilsKey

        protected com.google.inject.Key<?> getSpincastUtilsKey()
      • getJsonObjectImplClass

        protected Class<? extends JsonObject> getJsonObjectImplClass()
      • getJsonArrayImplClass

        protected Class<? extends JsonArray> getJsonArrayImplClass()
      • bindWebsocketEndpointHandlerFactory

        protected void bindWebsocketEndpointHandlerFactory()
      • getWebsocketEndpointHandlerKey

        protected com.google.inject.Key<?> getWebsocketEndpointHandlerKey()
      • bindWebsocketContextFactory

        protected void bindWebsocketContextFactory()
      • bindWebsocketEndpointToControllerManager

        protected void bindWebsocketEndpointToControllerManager()
      • bindCoreDictionaryMessages

        protected void bindCoreDictionaryMessages()
      • bindServerUtils

        protected void bindServerUtils()
      • getServerUtilsImplClass

        protected Class<? extends ServerUtils> getServerUtilsImplClass()
      • bindSSLContextFactory

        protected void bindSSLContextFactory()
      • bindValidators

        protected void bindValidators()
      • getValidatorsImplClass

        protected Class<? extends Validators> getValidatorsImplClass()
      • bindFormFactory

        protected void bindFormFactory()
      • getFormImplClass

        protected Class<? extends Form> getFormImplClass()
      • bindValidationFactory

        protected void bindValidationFactory()
      • getValidationSetImplClass

        protected Class<? extends ValidationSet> getValidationSetImplClass()
      • getValidationMessageImplClass

        protected Class<? extends ValidationMessage> getValidationMessageImplClass()
      • bindFlashMessageFactory

        protected void bindFlashMessageFactory()
      • getFlashMessageImplClass

        protected Class<? extends FlashMessage> getFlashMessageImplClass()
      • bindFlashMessagesHolder

        protected void bindFlashMessagesHolder()
      • bindObjectConverter

        protected void bindObjectConverter()
      • getObjectConverterImplClass

        protected Class<? extends ObjectConverter> getObjectConverterImplClass()
      • bindCookieFactory

        protected void bindCookieFactory()
      • getCookieImplClass

        protected Class<? extends Cookie> getCookieImplClass()
      • bindTestingModeFlag

        protected void bindTestingModeFlag()
        Currently, we set the @TestingMode flag to "true" if a GuiceTweaker exists or if JUnit/TestNG can be detected in the stacktrace.
      • spincastInit

        protected void spincastInit()
      • bindServerStartedListenersMultibinder

        protected void bindServerStartedListenersMultibinder()
      • bindsInterceptors

        protected void bindsInterceptors()
      • bindServerStartedInterceptor

        protected void bindServerStartedInterceptor()

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy