diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-24 01:10:41 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-24 01:10:41 +0000 |
commit | 0f8e7d93ea1821abd0dda31864412bd0dfd2876e (patch) | |
tree | 479eb46ace630d6aae82c951971383829e497a5d /sca-java-2.x/trunk/modules | |
parent | 40741392744e1401050c2f75d6ae7b055e1d8c6d (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@988368 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r-- | sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java index 219b67edff..3f6f05daf9 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java @@ -241,6 +241,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 |