// Path: src/main/java/crate/elasticsearch/action/dump/TransportDumpAction.java
// public class TransportDumpAction extends AbstractTransportExportAction {
// 
//     @Inject
//     public TransportDumpAction(Settings settings, ThreadPool threadPool, ClusterService clusterService,
//                                TransportService transportService, IndicesService indicesService,
//                                ScriptService scriptService, CacheRecycler cacheRecycler,
//                                DumpParser dumpParser, Exporter exporter, NodeEnvironment nodeEnv) {
//         super(settings, threadPool, clusterService, transportService, indicesService, scriptService,
//             cacheRecycler, dumpParser, exporter, nodeEnv);
//     }
// 
//     @Override
//     protected String transportAction() {
//         return DumpAction.NAME;
//     }
// }


import crate.elasticsearch.action.dump.DumpAction;
import crate.elasticsearch.action.dump.TransportDumpAction;
import crate.elasticsearch.action.dump.parser.DumpParser;
import org.elasticsearch.action.GenericAction;
import org.elasticsearch.action.support.TransportAction;
import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.common.inject.multibindings.MapBinder;
package crate.elasticsearch.module.dump;



public class DumpModule extends AbstractModule {

    @Override
    protected void configure() {
// Path: src/main/java/crate/elasticsearch/action/dump/TransportDumpAction.java
// public class TransportDumpAction extends AbstractTransportExportAction {
// 
//     @Inject
//     public TransportDumpAction(Settings settings, ThreadPool threadPool, ClusterService clusterService,
//                                TransportService transportService, IndicesService indicesService,
//                                ScriptService scriptService, CacheRecycler cacheRecycler,
//                                DumpParser dumpParser, Exporter exporter, NodeEnvironment nodeEnv) {
//         super(settings, threadPool, clusterService, transportService, indicesService, scriptService,
//             cacheRecycler, dumpParser, exporter, nodeEnv);
//     }
// 
//     @Override
//     protected String transportAction() {
//         return DumpAction.NAME;
//     }
// }


// Path: src/main/java/crate/elasticsearch/module/dump/DumpModule.java
import crate.elasticsearch.action.dump.DumpAction;
import crate.elasticsearch.action.dump.TransportDumpAction;
import crate.elasticsearch.action.dump.parser.DumpParser;
import org.elasticsearch.action.GenericAction;
import org.elasticsearch.action.support.TransportAction;
import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.common.inject.multibindings.MapBinder;

package crate.elasticsearch.module.dump;



public class DumpModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(TransportDumpAction.class).asEagerSingleton();