summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-17 10:43:48 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-06-17 10:43:48 +0000
commitf74dc2ca6226375eb23f8322531e2a4a66d3c8f2 (patch)
tree81619d93f6cb19246a1dcae070087fc03aa11575 /sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany
parentf189bbedd0df8d5d37be4cc13054ab24d23ce4ee (diff)
TUSCANY-3593 - Create an endpoint on the fly at the point a reference target is resolved in order to handle callbacks. This investigation has raised some questions that OASIS needs to answer, e.g. how to handle policy in this late bound scenario. Also this code change turns off generated WSDL caching and also relies on the SCA binding being attached to the callback service to carry the binding URI but this causes problems if you explicitly specify binding.sca. So more work to do but the basic test passes now.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@955544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany')
-rw-r--r--sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpointReference.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpointReference.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpointReference.java
index 43ca56839e..e852a47cf8 100644
--- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpointReference.java
+++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpointReference.java
@@ -41,6 +41,7 @@ public interface RuntimeEndpointReference extends EndpointReference, Invocable,
* @return The binding provider
*/
ReferenceBindingProvider getBindingProvider();
+
/**
* Get the interface contract for the binding. This represents the data types that the binding
* protocol stack can process.
@@ -54,7 +55,8 @@ public interface RuntimeEndpointReference extends EndpointReference, Invocable,
* implementation code uses to make the outbound call.
* @return The source component type reference interface contract
*/
- InterfaceContract getComponentTypeReferenceInterfaceContract();
+ InterfaceContract getComponentTypeReferenceInterfaceContract();
+
boolean isOutOfDate();
void rebuild();
boolean isStarted();