From d7ebda787739f6e362f958250887961946a92f02 Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Mon, 20 Dec 2010 19:28:04 +0000 Subject: Updating core invocation code to support bindings that provide native async support - as described in TUSCANY-3801 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1051250 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/tuscany/sca/runtime/Invocable.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime') diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Invocable.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Invocable.java index 948063f480..eef7a88046 100644 --- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Invocable.java +++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Invocable.java @@ -138,6 +138,15 @@ public interface Invocable { */ void invokeAsync(Operation operation, Message msg); + /** + * Asynchronously invoke an operation with a context message + * This invoke method assumes that the binding invocation chain is in force + * and that there will be an operation selector element there to + * determine which operation to call + * @param msg The request message + */ + void invokeAsync(Message msg); + /** * Asynchronously invoke an operation with a context message * @param tailInvoker the invoker at the end of the chain -- cgit v1.2.3