diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-26 18:23:06 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-26 18:23:06 +0000 |
commit | 3566e4b599bcc88382ad81433229b6f2cccdb899 (patch) | |
tree | 067b84f33391c785780b8ab30066651d8bec9e7b /sca-java-2.x/trunk/modules/endpoint-dht/src | |
parent | b4f0e720cda98d4bdaa351f4509d6486537a60f6 (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-dht/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-dht/src/main/java/org/apache/tuscany/sca/endpoint/dht/OverlayEndpointRegistry.java | 4 |
1 files changed, 0 insertions, 4 deletions
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); } |