summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 07:59:55 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 07:59:55 +0000
commitb7878c6d14b81b7877ff448727ac4b3d54e74cbd (patch)
tree775aa5817fba103101d82e280682b5e1d69707eb
parent5be60b842fd0d2d0c206b6e5e09435ffedb31447 (diff)
Update tribes registry to use Endpoint.matches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923616 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
index 2e8cf741b6..5dc627d88d 100644
--- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
+++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
@@ -301,7 +301,7 @@ public class ReplicatedEndpointRegistry extends BaseEndpointRegistry implements
Endpoint endpoint = (Endpoint)v;
// TODO: implement more complete matching
logger.fine("Matching against - " + endpoint);
- if (matches(uri, endpoint.getURI())) {
+ if (endpoint.matches(uri)) {
MapEntry entry = map.getInternal(endpoint.getURI());
// if (!entry.isPrimary()) {
((RuntimeEndpoint)endpoint).bind(registry, this);