diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-15 15:29:27 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-15 15:29:27 +0000 |
commit | 88b670871cd7ea084300e58fa6c9870683443597 (patch) | |
tree | bc70cc4c563a18691248c0d696228b3d0c82c391 /sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java | |
parent | 8343c879a235d4200d11ac894e889c80efde359e (diff) |
A bit of tidying to remove some chaff and add the async callback pattern into the sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@964464 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java b/sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java index 2d3fc97bb0..7bba2db44c 100644 --- a/sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java +++ b/sca-java-2.x/trunk/contrib/samples/async/sample-contribution-implementation-java-calculator-async/src/main/java/calculator/CalculateViaAsyncRef.java @@ -3,14 +3,15 @@ package calculator; import java.util.concurrent.Future; import javax.xml.ws.AsyncHandler; -import javax.xml.ws.Response; + +import org.oasisopen.sca.annotation.Remotable; /** - * client interface for async reference - * @author kgoodson + * Async client version of the CalculatorService interface * */ +@Remotable public interface CalculateViaAsyncRef { //public Response<String> calculate( Integer i1); |