summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-09 22:38:01 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-09 22:38:01 +0000
commitc9743ddb5dd582333f51c88f7e195c248677c3b3 (patch)
tree0e2a52d1f41e528cd4fb6074cc231b9f36840ca1 /sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache
parent562d9a8c1f3c64a0b952b0a58fccf62ddb2c5921 (diff)
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache')
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java6
1 files changed, 3 insertions, 3 deletions
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;
}
}