From c9743ddb5dd582333f51c88f7e195c248677c3b3 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 9 Mar 2010 22:38:01 +0000 Subject: Update hazelcast client map name (file missed from previous commit) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921180 13f79535-47bb-0310-9956-ffa450edef68 --- .../endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache') diff --git a/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java index 3819f9b3db..4f43dfde6e 100644 --- a/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java @@ -42,11 +42,11 @@ public class HazelcastClientEndpointRegistry extends HazelcastEndpointRegistry { @Override public void start() { - if (map != null) { + if (endpointMap != null) { throw new IllegalStateException("The registry has already been started"); } initHazelcastClientInstance(); - map = hazelcastClient.getMap(configURI.getDomainName() + "/Endpoints"); + endpointMap = hazelcastClient.getMap(configURI.getDomainName() + "/Endpoints"); } @Override @@ -54,7 +54,7 @@ public class HazelcastClientEndpointRegistry extends HazelcastEndpointRegistry { if (hazelcastClient != null) { hazelcastClient.shutdown(); hazelcastClient = null; - map = null; + endpointMap = null; } } -- cgit v1.2.3