diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-11 04:12:24 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-11 04:12:24 +0000 |
commit | 28f92c6fc62f3bc0637ac77681aabcc8c0b5e42c (patch) | |
tree | c5200096f9d6529817b61ee630254a6bd5085729 /branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java | |
parent | a72fcfa3adf5be93bcf62e8ed26c08d10939b364 (diff) |
Renaming branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@694107 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java')
2 files changed, 19 insertions, 0 deletions
diff --git a/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldService.java b/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldService.java new file mode 100644 index 0000000000..2b92fd4661 --- /dev/null +++ b/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldService.java @@ -0,0 +1,7 @@ +package sample;
+
+public interface HelloworldService {
+
+ String sayHello(String name);
+
+}
diff --git a/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java b/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java new file mode 100644 index 0000000000..be83d3b407 --- /dev/null +++ b/branches/sca-trunk-20080910/samples/helloworld-jsp/src/main/java/sample/HelloworldServiceImpl.java @@ -0,0 +1,12 @@ +package sample;
+
+import org.osoa.sca.annotations.Service;
+
+@Service(HelloworldService.class)
+public class HelloworldServiceImpl implements HelloworldService {
+
+ public String sayHello(String name) {
+ return "Hello " + name;
+ }
+
+}
|