diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-24 11:31:39 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-24 11:31:39 +0000 |
commit | 9609737d78c824a2412b94bdbd9667d4388ef81e (patch) | |
tree | 38e63fe88d94fdd845bfd823d99bf308df360755 /sca-java-2.x/trunk/samples/calculator/src/main | |
parent | 0738dca15be70913d811e2d03c2247c25ad3aaab (diff) |
Make service interface remotable so it works with the distributed domain
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@883660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/calculator/src/main')
-rw-r--r-- | sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorService.java b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorService.java index 031fa8b912..ce1cdaae5a 100644 --- a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorService.java +++ b/sca-java-2.x/trunk/samples/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); |