Class BootGuiceModule

java.lang.Object
com.google.inject.AbstractModule
org.summerboot.jexpress.boot.BootGuiceModule
All Implemented Interfaces:
com.google.inject.Module

public class BootGuiceModule extends com.google.inject.AbstractModule
Author:
Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
  • Constructor Summary

    Constructors
    Constructor
    Description
    BootGuiceModule(Object caller, Class callerClass, StringBuilder memo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    scanAnnotation_BindInstance(com.google.inject.Binder binder, Class<? extends Annotation> annotation, String... rootPackageNames)
    This method should be called within Google.Guice module, and will automatically trigger Google.Guice to call initControllerActions(...)

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, 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

  • Method Details

    • configure

      public void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule
    • scanAnnotation_BindInstance

      protected void scanAnnotation_BindInstance(com.google.inject.Binder binder, Class<? extends Annotation> annotation, String... rootPackageNames)
      This method should be called within Google.Guice module, and will automatically trigger Google.Guice to call initControllerActions(...)
      Parameters:
      binder -
      rootPackageNames -
      annotation - the class level annotation to mark this class as a HTTP request controller