Update to use defaultDomainName

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2010-05-14 08:37:44 +00:00
parent 3f687b6e45
commit 38114932e9

View file

@ -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]));
}