From c57e6bf5db9304120dd85036492206593ef7424e Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Thu, 20 Jan 2011 16:52:59 +0000 Subject: Stage 1 of Axis2 binding-ws support of async callbacks, as described in TUSCANY-3821 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1061389 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/runtime/RuntimeEndpoint.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sca-java-2.x/trunk/modules') 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 78f2d9546c..92ae31d626 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 @@ -80,4 +80,16 @@ public interface RuntimeEndpoint extends Endpoint, Invocable, Serializable { */ public InterfaceContract getGeneratedWSDLContract(InterfaceContract interfaceContract); + /** + * Creates the async callback for this Endpoint, if it does not already exist + * and stores it into the Endpoint + */ + public void createAsyncServerCallback( ); + + /** + * Gets the async callback reference for this Endpoint, if it exists + * @return + */ + public RuntimeEndpointReference getAsyncServerCallback(); + } -- cgit v1.2.3