summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/core-spi/src/main
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/core-spi/src/main
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/core-spi/src/main')
-rw-r--r--java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java
index e63bdf89c7..6d95bbca1c 100644
--- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java
+++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeComponentContext.java
@@ -25,6 +25,7 @@ import java.io.Writer;
import org.apache.tuscany.sca.assembly.Binding;
import org.apache.tuscany.sca.assembly.ComponentService;
+import org.apache.tuscany.sca.assembly.EndpointReference2;
import org.apache.tuscany.sca.core.ExtensionPointRegistry;
import org.oasisopen.sca.CallableReference;
import org.oasisopen.sca.ComponentContext;
@@ -61,13 +62,12 @@ public interface RuntimeComponentContext extends ComponentContext {
* @param <B>
* @param businessInterface The business interface
* @param reference The reference to be wired
- * @param binding The binding to be used, if it's null, either binding.sca or the 1st binding
- * will be selected
+ * @param endpointReference The endpointReference to be used
* @return A service reference representing the wire
*/
<B> ServiceReference<B> getServiceReference(Class<B> businessInterface,
RuntimeComponentReference reference,
- Binding binding);
+ EndpointReference2 endpointReference);
/**
* Bind the reference to a target component/componentService