diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java index 4bf120a641..5dd1d30515 100644 --- a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java +++ b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java @@ -672,7 +672,7 @@ public class HazelcastDomainRegistry extends BaseDomainRegistry implements Domai } @Override - public List<String> getMembers() { + public List<String> getNodeNames() { List<String> members = new ArrayList<String>(); for (Member m : hazelcastInstance.getCluster().getMembers()) { if (!m.isSuperClient()) { @@ -683,12 +683,12 @@ public class HazelcastDomainRegistry extends BaseDomainRegistry implements Domai } @Override - public String getLocalMember() { + public String getLocalNodeName() { return hazelcastInstance.getCluster().getLocalMember().getInetSocketAddress().toString(); } @Override - public String getRunningMember(String contributionURI, String compositeURI) { + public String getRunningNodeName(String contributionURI, String compositeURI) { for (String m : runningCompositeOwners.keySet()) { Map<String, List<String>> rcs = runningCompositeOwners.get(m); if (rcs != null) { |