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, Set<String> userSpecifiedImplTags, StringBuilder memo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected boolean
     
    protected void
    scanAnnotation_BindInstance(com.google.inject.Binder binder, Class<? extends Annotation> annotation, String... rootPackageNames)
    This method will be called by

    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

    • isCliUseImplTag

      protected boolean isCliUseImplTag(String implTag)
    • 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 will be called by
       Guice.createInjector(...) from SummerBigBang.genesis(...) to trigger SummerBigBang.onGuiceInjectorCreated_ControllersInjected(@Controller Map<String, Object> controllers)
       
      Parameters:
      binder -
      rootPackageNames -
      annotation - the class level annotation to mark this class as a HTTP request controller