Class 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
      IotGuiceModule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()  
      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
    • Constructor Detail

      • IotGuiceModule

        public IotGuiceModule()
    • Method Detail

      • 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)