Package org.forgerock.am.iot
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
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 Details
-
IotGuiceModule
public IotGuiceModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.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)
-