diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 07:55:35 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 07:55:35 +0000 |
commit | a12ba1c79bc32a37b554b37df92df629484ae600 (patch) | |
tree | 3ddaac22c69153146477f7ac186cc400828f036c /sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main | |
parent | b67d55fbabe5dc61a5e44452a10f0bcd7c90fae5 (diff) |
Set remote when its remote
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java index 09cb8b1a01..58e820cb6f 100644 --- a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java @@ -168,8 +168,9 @@ public class HazelcastEndpointRegistry extends BaseEndpointRegistry implements E for (Object v : endpointMap.values()) {
Endpoint endpoint = (Endpoint)v;
logger.fine("Matching against - " + endpoint);
- if (matches(uri, endpoint.getURI())) {
+ if (endpoint.matches(uri)) {
if (!isLocal(endpoint)) {
+ endpoint.setRemote(true);
((RuntimeEndpoint)endpoint).bind(registry, this);
} else {
// get the local version of the endpoint
|