diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 09:34:40 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 09:34:40 +0000 |
commit | 9676a96186915a7520f8fc0fd9d2510438de74d2 (patch) | |
tree | 0353b07ebd8dc60661be8b58187ef3013aa315f6 /sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java | |
parent | 3ccf505b751f4e79d5a3b776e83265e14bcf2b06 (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
Diffstat (limited to 'sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java')
-rw-r--r-- | sca-java-2.x/trunk/samples/contribution-implementation-java-calculator/src/main/java/calculator/CalculatorService.java | 2 |
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); |