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:
parent
f1624a9872
commit
08f6c248d0
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue