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

public.javadoc.org.spincast.testing.defaults.NoAppCustomContextTypesTestingBase.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






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












org.spincast.testing.defaults

Class NoAppCustomContextTypesTestingBase<R extends RequestContext<?>,W extends WebsocketContext<?>>

    • Constructor Detail

      • NoAppCustomContextTypesTestingBase

        public NoAppCustomContextTypesTestingBase()
    • Method Detail

      • createInjector

        protected com.google.inject.Injector createInjector()
        Description copied from class: SpincastTestBase
        The test class must implement this method to create the Guice injector. It can be done by starting a real application (with a main(...) method) or by creating a custom Injector.
        Specified by:
        createInjector in class SpincastTestBase
      • getMainArgs

        protected String[] getMainArgs()
      • getExtraPlugins

        protected List<SpincastPlugin> getExtraPlugins()
        The extra required plugins. Example:
         List<SpincastPlugin> extraPlugins = super.getExtraPlugins();
         extraPlugins.add(new XXX());
         return extraPlugins;
         
      • getExtraOverridingModule

        protected com.google.inject.Module getExtraOverridingModule()
        Can be overriden with something like :
         return Modules.override(super.getExtraOverridingModule()).with(new SpincastGuiceModuleBase() {
             protected void configure() {
                 // ...
             }
         });
         
      • getRequestContextImplementationClass

        protected abstract Class<? extends RequestContext<?>> getRequestContextImplementationClass()
      • getWebsocketContextImplementationClass

        protected abstract Class<? extends WebsocketContext<?>> getWebsocketContextImplementationClass()

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy