From 3566e4b599bcc88382ad81433229b6f2cccdb899 Mon Sep 17 00:00:00 2001 From: rfeng Date: Fri, 26 Feb 2010 18:23:06 +0000 Subject: Clean up the remote flag for endpoint and change the endpoint reference status to an enum git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916778 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany') diff --git a/sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java index 8bf237c993..a7b36987ae 100644 --- a/sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java @@ -198,10 +198,6 @@ public class OverlayEndpointRegistry implements EndpointRegistry, LifeCycleListe Endpoint endpoint = v.getValue(); if (matches(targetEndpoint.getURI(), endpoint.getURI())) { - if (!isLocal(endpoint)) { - endpoint.setRemote(true); - } - if(endpoint instanceof RuntimeEndpoint) { ((RuntimeEndpoint) endpoint).bind(registry, this); } -- cgit v1.2.3