Package org.elasticsearch.action
Class ActionModule
java.lang.Object
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.action.ActionModule
- All Implemented Interfaces:
Module
Builds and binds the generic action map, all
TransportActions, and ActionFilters.-
Constructor Summary
ConstructorsConstructorDescriptionActionModule(boolean transportClient, Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidConfigures aBindervia the exposed methods.voidinitRestHandlers(Supplier<DiscoveryNodes> nodesInCluster)Methods inherited from class org.elasticsearch.common.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
ActionModule
public ActionModule(boolean transportClient, Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices)
-
-
Method Details
-
getActions
-
initRestHandlers
-
configure
protected void configure()Description copied from class:AbstractModuleConfigures aBindervia the exposed methods.- Specified by:
configurein classAbstractModule
-
getActionFilters
-
getRestController
-