diff options
Diffstat (limited to 'branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes')
-rw-r--r-- | branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java index 3a703bca62..ac2933564e 100644 --- a/branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java +++ b/branches/sca-java-2.0-M4/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java @@ -354,10 +354,12 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry, LifeCycleLi public void entryAdded(Object key, Object value) { MapEntry entry = (MapEntry)value; + Endpoint newEp = (Endpoint)entry.getValue(); if (!isLocal(entry)) { logger.info(id + " Remote endpoint added: " + entry.getValue()); + newEp.setRemote(true); } - Endpoint newEp = (Endpoint)entry.getValue(); + newEp.setExtensionPointRegistry(registry); for (EndpointListener listener : listeners) { listener.endpointAdded(newEp); } |