summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-25 07:54:03 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-25 07:54:03 +0000
commit6665815f0baec7e55d3fa7437ff507c4ab3731de (patch)
treef844faf617e47f46c0d6a2d3eb5c1a4ca242df4c
parent39584f6d48697811dfe3355ab88ddbb6a0ff99c4 (diff)
Make service remotable so its easier for users to extend without having the problem of forgetting the annottaion like that user posted about a while back
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@788283 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/archetypes/contribution-jar/src/main/resources/archetype-resources/src/main/java/HelloworldService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/sca/archetypes/contribution-jar/src/main/resources/archetype-resources/src/main/java/HelloworldService.java b/java/sca/archetypes/contribution-jar/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
index 352c165731..3527edcd6f 100644
--- a/java/sca/archetypes/contribution-jar/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
+++ b/java/sca/archetypes/contribution-jar/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
@@ -18,6 +18,9 @@
*/
package ${package};
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
public interface HelloworldService {
String sayHello(String name);