summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/implementation-java-runtime/src
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-08 09:30:48 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-06-08 09:30:48 +0000
commitb639e688a9d28d9a66ffe71ef3c382fdd63b1d7a (patch)
treeeae04a18538fe727cd8e99595609e1e930c1ec4e /java/sca/modules/implementation-java-runtime/src
parent667922434cac802841b4e5d3fa5b7d3645acecb0 (diff)
TUSCANY-3081 - Enable the local endpoint registry implementation in the endpoint module. This delays endpoint reference resolution until chains are first created.Callback processing needs a thorough review as part of the next change to make EndpointReference2 serializable.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@782569 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-java-runtime/src')
-rw-r--r--java/sca/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.java b/java/sca/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.java
index 141d991d27..e73fe3a13d 100644
--- a/java/sca/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.java
+++ b/java/sca/modules/implementation-java-runtime/src/main/java/org/apache/tuscany/sca/implementation/java/invocation/JavaComponentContextProvider.java
@@ -221,7 +221,7 @@ public class JavaComponentContextProvider {
new CallableReferenceObjectFactory(businessInterface, component,
(RuntimeComponentReference)wireList.get(i)
.getSource().getContract(), wireList.get(i)
- .getSource().getBinding());
+ .getEndpointReference());
} else {
factory = createObjectFactory(baseType, wireList.get(i));
}
@@ -246,7 +246,7 @@ public class JavaComponentContextProvider {
.getGenericType());
factory =
new CallableReferenceObjectFactory(businessInterface, component,
- (RuntimeComponentReference)componentReference, null);
+ (RuntimeComponentReference)componentReference, wireList.get(0).getEndpointReference());
} else {
factory = createObjectFactory(element.getType(), wireList.get(0));
}