diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-13 04:19:54 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-13 04:19:54 +0000 |
commit | 24dda97741bf91074e3c0e0c2651403a591060da (patch) | |
tree | 500b3ad5b4c037f76b6e627a60315c5e605ae5ff /sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src | |
parent | b1509e942480612687b0b7b76bd0a36607550f65 (diff) |
Add @Remotable to JSON sample interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src')
-rw-r--r-- | sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src/main/java/calculator/AddService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src/main/java/calculator/AddService.java b/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src/main/java/calculator/AddService.java index 7170ebb962..03e844d09c 100644 --- a/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src/main/java/calculator/AddService.java +++ b/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator/src/main/java/calculator/AddService.java @@ -18,9 +18,12 @@ */
package calculator;
+import org.oasisopen.sca.annotation.Remotable;
+
/**
* The Add service interface
*/
+@Remotable
public interface AddService {
double add(double n1, double n2);
|