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
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 |
ActionModule
public ActionModule(boolean proxy)
registerAction
public <Request extends ActionRequest,Response extends ActionResponse> void registerAction(GenericAction<Request,Response> action,
Class<? extends TransportAction<Request,Response>> transportAction,
Class... supportTransportActions)
- Registers an action.
- Type Parameters:
Request
- The request type.Response
- The response type.- Parameters:
action
- The action type.transportAction
- The transport action implementing the actual action.supportTransportActions
- Any support actions that are needed by the transport action.
configure
protected void configure()
- Description copied from class:
AbstractModule
- Configures a
Binder
via the exposed methods.
- Specified by:
configure
in class AbstractModule
Copyright © 2009-2012. All Rights Reserved.