summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-20 04:36:08 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-20 04:36:08 +0000
commit08f6c248d0716a98504e28341c44704ab5f90821 (patch)
treeb99cd2acec61e5f132896179214eb3470963449e
parentf1624a9872df8f8bf9b6716354b416403d38df49 (diff)
Put back some code to use the InterfaceContractMapper to match interfaces, as the latest code which just looks for matching operation names breaks the support for dynamic interfaces.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965721 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sandbox/sebastien/java/dynamic/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sandbox/sebastien/java/dynamic/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java b/sandbox/sebastien/java/dynamic/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
index fe9e437650..84404adf73 100644
--- a/sandbox/sebastien/java/dynamic/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
+++ b/sandbox/sebastien/java/dynamic/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
@@ -235,6 +235,10 @@ public class RuntimeEndpointImpl extends EndpointImpl implements RuntimeEndpoint
invocationChainMap.put(operation, chain);
return chain;
}
+ if (interfaceContractMapper.isCompatible(operation, op, Compatibility.SUBSET)) {
+ invocationChainMap.put(operation, chain);
+ return chain;
+ }
} else {
// [rfeng] We need to run the compatibility check for local operations as they
// can be overloaded