summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 09:34:40 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-27 09:34:40 +0000
commit9676a96186915a7520f8fc0fd9d2510438de74d2 (patch)
tree0353b07ebd8dc60661be8b58187ef3013aa315f6
parent3ccf505b751f4e79d5a3b776e83265e14bcf2b06 (diff)
Add remotable annotation so that the contribution can be used in distributed domain, eg to be invoked from the calculator-scaclient sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948742 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java b/sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java
index 031fa8b912..ce1cdaae5a 100644
--- a/sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java
+++ b/sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java
@@ -18,10 +18,12 @@
*/
package calculator;
+import org.oasisopen.sca.annotation.Remotable;
/**
* The Calculator service interface.
*/
+@Remotable
public interface CalculatorService {
double add(double n1, double n2);