From e5a29a7a451910b69414c26712e21cf484973953 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 16 Aug 2012 14:38:47 +0000 Subject: Update to support DOMInvoker with remote endpoints git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1373866 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sca-java-2.x/trunk/modules') diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java index a206a7d161..647cd12a32 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java @@ -854,6 +854,9 @@ public class EndpointReferenceBinderImpl implements EndpointReferenceBinder { if (builderContext != null){ systemDefinitions = builderContext.getDefinitions(); } else { + if (((RuntimeEndpoint)endpoint).getCompositeContext() == null) { + return true; + } systemDefinitions = ((RuntimeEndpoint)endpoint).getCompositeContext().getSystemDefinitions(); } -- cgit v1.2.3