From b7878c6d14b81b7877ff448727ac4b3d54e74cbd Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 16 Mar 2010 07:59:55 +0000 Subject: Update tribes registry to use Endpoint.matches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923616 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3