summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-08-16 14:38:47 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-08-16 14:38:47 +0000
commite5a29a7a451910b69414c26712e21cf484973953 (patch)
treea738bd0dd953493887ec3feb9289aeeb0b17724a /sca-java-2.x/trunk
parent9ea7e9a5cd01ce64222a930a9f66bb622deb2ce0 (diff)
Update to support DOMInvoker with remote endpoints
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1373866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java3
1 files changed, 3 insertions, 0 deletions
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();
}