Merge trunk change r1148761 to add use the correct interface to beta3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1149068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bfb5381250
commit
01387fc388
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ public class ComponentContextImpl implements RuntimeComponentContext {
|
|||
public <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, RuntimeEndpoint endpoint) {
|
||||
try {
|
||||
if (businessInterface == null) {
|
||||
InterfaceContract contract = endpoint.getComponentTypeServiceInterfaceContract();
|
||||
InterfaceContract contract = endpoint.getBindingInterfaceContract();
|
||||
businessInterface = (Class<B>)((JavaInterface)contract.getInterface()).getJavaClass();
|
||||
}
|
||||
RuntimeEndpointReference ref =
|
||||
|
|
Loading…
Add table
Reference in a new issue