Class SimpleContextModule

java.lang.Object
com.google.inject.PrivateModule
dev.getelements.elements.rt.guice.SimpleContextModule
All Implemented Interfaces:
com.google.inject.Module

public class SimpleContextModule extends com.google.inject.PrivateModule
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    Specifies the default contexts and services.
    withSchedulerContextModules(com.google.inject.Module... modules)
    Specifies one or more modules as service level modules.

    Methods inherited from class com.google.inject.PrivateModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, expose, expose, expose, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleContextModule

      public SimpleContextModule()
  • Method Details

    • withDefaultContexts

      public SimpleContextModule withDefaultContexts()
      Specifies the default contexts and services.
      Returns:
      this instance
    • withSchedulerContextModules

      public SimpleContextModule withSchedulerContextModules(com.google.inject.Module... modules)
      Specifies one or more modules as service level modules.
      Parameters:
      modules - the modules to add
      Returns:
      this instance
    • configure

      protected void configure()
      Specified by:
      configure in class com.google.inject.PrivateModule