diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-14 08:37:44 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-14 08:37:44 +0000 |
commit | 38114932e97227e338ca3761fec940b1dc773f9e (patch) | |
tree | 93c975eba1900a0ef3c6796b4ab74a2ec02b8ac4 /sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java | |
parent | 3f687b6e4572adc326b5c453779074a135d1f936 (diff) |
Update to use defaultDomainName
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944153 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java | 2 |
1 files changed, 1 insertions, 1 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 c72e2d5035..78b06f0adc 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,7 +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.domainURI = properties.getProperty("defaultDomainName", "default");
this.hazelcastClient = HazelcastClient.newHazelcastClient(rc.getUserid(), rc.getPassword(), rc.getWKAs().toArray(new String[0]));
}
|