Package org.elasticsearch.action
Class ActionModule
java.lang.Object
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.action.ActionModule
- All Implemented Interfaces:
Module
public class ActionModule extends AbstractModule
Builds and binds the generic action map, all
TransportAction
s, and ActionFilters
.-
Constructor Summary
Constructors Constructor Description ActionModule(boolean transportClient, Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, java.util.List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices)
-
Method Summary
Modifier and Type Method Description protected void
configure()
Configures aBinder
via the exposed methods.ActionFilters
getActionFilters()
java.util.Map<java.lang.String,ActionPlugin.ActionHandler<?,?>>
getActions()
RestController
getRestController()
void
initRestHandlers(java.util.function.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ActionModule
public ActionModule(boolean transportClient, Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, java.util.List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices)
-
-
Method Details
-
getActions
-
initRestHandlers
-
configure
protected void configure()Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Specified by:
configure
in classAbstractModule
-
getActionFilters
-
getRestController
-