summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/contrib/samples
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-26 12:12:19 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-08-26 12:12:19 +0000
commitb7b98aedc3d30214acd657fc0d574255426df4ab (patch)
treeab6425a4925c856664cdb4ebeef7e8ccb5e36722 /sca-java-2.x/contrib/samples
parent1f663ff5d0ba429f072ee2a46eeb7efa15eff5a4 (diff)
Make interface remotable so it works with remotabel bindings like ws, rmi etc
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@989629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/samples')
-rw-r--r--sca-java-2.x/contrib/samples/hema/src/main/java/sample/HelloworldService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/sca-java-2.x/contrib/samples/hema/src/main/java/sample/HelloworldService.java b/sca-java-2.x/contrib/samples/hema/src/main/java/sample/HelloworldService.java
index 53ff7a5ca1..9e19edbf9a 100644
--- a/sca-java-2.x/contrib/samples/hema/src/main/java/sample/HelloworldService.java
+++ b/sca-java-2.x/contrib/samples/hema/src/main/java/sample/HelloworldService.java
@@ -18,6 +18,9 @@
*/
package sample;
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
public interface HelloworldService {
String sayHello(String name);