Class IotGuiceModule

java.lang.Object
com.google.inject.AbstractModule
org.forgerock.am.iot.IotGuiceModule
All Implemented Interfaces:
com.google.inject.Module

public class IotGuiceModule extends com.google.inject.AbstractModule
The IotGuiceModule handles all the Guice dependency injections to allow the plugin to be operational within AM.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    Map<String,org.forgerock.am.iot.ThingsActionHandler>
    getActionHandlers(org.forgerock.am.iot.GetAccessTokenActionHandler accessTokenActionHandler, org.forgerock.am.iot.GetUserCodeActionHandler userCodeActionHandler, org.forgerock.am.iot.GetUserTokenActionHandler userTokenActionHandler, org.forgerock.am.iot.IntrospectTokenActionHandler introspectTokenActionHandler)
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, 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

    • IotGuiceModule

      public IotGuiceModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule
    • getActionHandlers

      @Provides @Inject public Map<String,org.forgerock.am.iot.ThingsActionHandler> getActionHandlers(org.forgerock.am.iot.GetAccessTokenActionHandler accessTokenActionHandler, org.forgerock.am.iot.GetUserCodeActionHandler userCodeActionHandler, org.forgerock.am.iot.GetUserTokenActionHandler userTokenActionHandler, org.forgerock.am.iot.IntrospectTokenActionHandler introspectTokenActionHandler)