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
This commit is contained in:
jsdelfino 2010-07-20 04:36:08 +00:00
parent f1624a9872
commit 08f6c248d0

View file

@ -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