tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r944153 - /tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java
Date Fri, 14 May 2010 08:37:44 GMT
Author: antelder
Date: Fri May 14 08:37:44 2010
New Revision: 944153

URL: http://svn.apache.org/viewvc?rev=944153&view=rev
Log:
Update to use defaultDomainName

Modified:
    tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java

Modified: tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java?rev=944153&r1=944152&r2=944153&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/endpoint-hazelcast-client/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/client/HazelcastClientEndpointRegistry.java
Fri May 14 08:37:44 2010
@@ -80,7 +80,7 @@ public class HazelcastClientEndpointRegi
         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]));
     }
 



Mime
View raw message