tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r783091 - /tuscany/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
Date Tue, 09 Jun 2009 18:30:29 GMT
Author: rfeng
Date: Tue Jun  9 18:30:29 2009
New Revision: 783091

URL: http://svn.apache.org/viewvc?rev=783091&view=rev
Log:
Use componentURI#srevice-binding(serviceName/bindingName) as the endpoint URI

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=783091&r1=783090&r2=783091&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
Tue Jun  9 18:30:29 2009
@@ -147,7 +147,8 @@
         if (bindingName == null) {
             bindingName = ep.getService().getName();
         }
-        String epURI = ep.getComponent().getURI() + "#" + ep.getService().getName() + "/"
+ bindingName;
+        String epURI =
+            ep.getComponent().getURI() + "#service-binding(" + ep.getService().getName()
+ "/" + bindingName + ")";
         return epURI;
     }
 



Mime
View raw message