summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 11:52:50 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 11:52:50 +0000
commitb9c9d45491e8ebcb72ebb3772f56410e98f92f18 (patch)
treec7c7425e33263f1cd83381a938fee1283a678c86 /sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java
parentd822cbb36221554bac26bccd537ba0d4c5b478bf (diff)
Start adding Spring helloworld sample like the bpel and java ones
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926043 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java b/sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java
new file mode 100644
index 0000000000..f4e8c50448
--- /dev/null
+++ b/sca-java-2.x/trunk/samples/helloworld-spring/src/main/java/sample/Helloworld.java
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package sample;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
+public interface Helloworld {
+
+ String sayHello(String name);
+
+}