diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-13 13:56:34 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-13 13:56:34 +0000 |
commit | e96e508eed9636903d2e76d2ce6020856f7f3333 (patch) | |
tree | f03e766cd8320db36fc52e0bc73c803d73210143 /sca-java-2.x/trunk | |
parent | a5bb8381e1a977f6fc1bb47194394c0953de5d0e (diff) |
Set the domain name frm the properties uri config
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@943887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java | 1 |
1 files changed, 1 insertions, 0 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 3ab62d2936..c72e2d5035 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 @@ -80,6 +80,7 @@ public class HazelcastClientEndpointRegistry extends HazelcastEndpointRegistry { if (rc.getWKAs().size() < 1) {
throw new IllegalArgumentException("Must specify remote IP address(es) for domain");
}
+ this.domainURI = rc.getUserid(); // TODO: update to have bothe domain and userid
this.hazelcastClient = HazelcastClient.newHazelcastClient(rc.getUserid(), rc.getPassword(), rc.getWKAs().toArray(new String[0]));
}
|