From 3c88eacb01b53085b83b0533a4f5d9a5425e2b3f Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 30 Dec 2011 13:42:08 +0200 Subject: [PATCH] bind transport validate query actions as singletons --- .../java/org/elasticsearch/action/TransportActionModule.java | 2 ++ .../client/transport/action/ClientTransportActionModule.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/elasticsearch/action/TransportActionModule.java b/src/main/java/org/elasticsearch/action/TransportActionModule.java index 8b19f9d6fe3..2b2c5119f8e 100644 --- a/src/main/java/org/elasticsearch/action/TransportActionModule.java +++ b/src/main/java/org/elasticsearch/action/TransportActionModule.java @@ -52,6 +52,7 @@ import org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction; import org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction; import org.elasticsearch.action.admin.indices.template.delete.TransportDeleteIndexTemplateAction; import org.elasticsearch.action.admin.indices.template.put.TransportPutIndexTemplateAction; +import org.elasticsearch.action.admin.indices.validate.query.TransportValidateQueryAction; import org.elasticsearch.action.bulk.TransportBulkAction; import org.elasticsearch.action.bulk.TransportShardBulkAction; import org.elasticsearch.action.count.TransportCountAction; @@ -110,6 +111,7 @@ public class TransportActionModule extends AbstractModule { bind(TransportAnalyzeAction.class).asEagerSingleton(); bind(TransportPutIndexTemplateAction.class).asEagerSingleton(); bind(TransportDeleteIndexTemplateAction.class).asEagerSingleton(); + bind(TransportValidateQueryAction.class).asEagerSingleton(); bind(TransportGatewaySnapshotAction.class).asEagerSingleton(); diff --git a/src/main/java/org/elasticsearch/client/transport/action/ClientTransportActionModule.java b/src/main/java/org/elasticsearch/client/transport/action/ClientTransportActionModule.java index 6bd0d45ad6d..a8b7fdac8ee 100644 --- a/src/main/java/org/elasticsearch/client/transport/action/ClientTransportActionModule.java +++ b/src/main/java/org/elasticsearch/client/transport/action/ClientTransportActionModule.java @@ -50,6 +50,7 @@ import org.elasticsearch.client.transport.action.admin.indices.stats.ClientTrans import org.elasticsearch.client.transport.action.admin.indices.status.ClientTransportIndicesStatusAction; import org.elasticsearch.client.transport.action.admin.indices.template.delete.ClientTransportDeleteIndexTemplateAction; import org.elasticsearch.client.transport.action.admin.indices.template.put.ClientTransportPutIndexTemplateAction; +import org.elasticsearch.client.transport.action.admin.indices.validate.query.ClientTransportValidateQueryAction; import org.elasticsearch.client.transport.action.bulk.ClientTransportBulkAction; import org.elasticsearch.client.transport.action.count.ClientTransportCountAction; import org.elasticsearch.client.transport.action.delete.ClientTransportDeleteAction; @@ -100,6 +101,7 @@ public class ClientTransportActionModule extends AbstractModule { bind(ClientTransportAnalyzeAction.class).asEagerSingleton(); bind(ClientTransportPutIndexTemplateAction.class).asEagerSingleton(); bind(ClientTransportDeleteIndexTemplateAction.class).asEagerSingleton(); + bind(ClientTransportValidateQueryAction.class).asEagerSingleton(); bind(ClientTransportNodesInfoAction.class).asEagerSingleton(); bind(ClientTransportNodesStatsAction.class).asEagerSingleton();