summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java
index 6712b71efd..928880214d 100644
--- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java
+++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java
@@ -58,10 +58,34 @@ public interface RuntimeEndpoint extends Endpoint, Invocable, Serializable {
*/
InterfaceContract getComponentTypeServiceInterfaceContract();
+
+ /**
+ * Check that endpoint has compatible interface at the component and binding ends.
+ * The user can specify the interfaces at both ends so there is a danger that they won't be compatible.
+ */
+ void validateServiceInterfaceCompatibility();
+
/**
* Get the composite context for the composite that contains this endpoint. This
* is useful for accessing various composite level objects from within the
* runtime code
*/
CompositeContext getCompositeContext();
+
+ /**
+ * to allow for remote interface comparison we convert a Endpoint's Java interface
+ * to WSDL at build time.
+ *
+ * @param wsdlContract
+ */
+// void setGeneratedWSDLContract(InterfaceContract wsdlContract);
+
+ /**
+ * to allow for remote interface comparison we convert a Endpoint's Java interface
+ * to WSDL at build time.
+ *
+ * @preturn wsdlContract
+ */
+// InterfaceContract getGeneratedWSDLContract();
+
}