tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r809258 - /tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
Date Sun, 30 Aug 2009 07:29:32 GMT
Author: antelder
Date: Sun Aug 30 07:29:32 2009
New Revision: 809258

URL: http://svn.apache.org/viewvc?rev=809258&view=rev
Log:
Get the tribes context name set from the domain name

Modified:
    tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java

Modified: tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java?rev=809258&r1=809257&r2=809258&view=diff
==============================================================================
--- tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
(original)
+++ tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
Sun Aug 30 07:29:32 2009
@@ -100,6 +100,10 @@
     }
 
     private void setConfig(Map<String, String> attributes) {
+        if (attributes.containsKey("domainName")) {
+            domainURI = attributes.get("domainName");
+        }
+        
         String portStr = attributes.get("port");
         if (portStr != null) {
             port = Integer.parseInt(portStr);



Mime
View raw message