summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/unreleased
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-03-14 08:47:08 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-03-14 08:47:08 +0000
commit1902945b84952c6988c0828102a4d91b95a8d522 (patch)
treed7e9c752eef1d649cb80e07da1af4c7a0e99a381 /sca-java-2.x/trunk/unreleased
parentdff600b18dd07a10804bb1d33a3956dfa6c72d25 (diff)
Simplify sample by removing things that aren't necessary
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1081285 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/unreleased')
-rw-r--r--sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/pom.xml2
-rw-r--r--sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/src/main/java/sample/HelloworldImpl.java9
2 files changed, 0 insertions, 11 deletions
diff --git a/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/pom.xml b/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/pom.xml
index 7e93669fb5..a338492f12 100644
--- a/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/pom.xml
+++ b/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/pom.xml
@@ -31,7 +31,6 @@
<groupId>org.apache.tuscany.sca.samples</groupId>
<artifactId>helloworld-contribution</artifactId>
<version>2.0-SNAPSHOT</version>
- <packaging>jar</packaging>
<name>Tuscany Sample Helloworld Contribution</name>
@@ -66,7 +65,6 @@
<build>
<defaultGoal>install</defaultGoal>
- <finalName>helloworld-contribution</finalName>
<plugins>
<plugin>
diff --git a/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/src/main/java/sample/HelloworldImpl.java
index 3b86c10df0..089b1a4290 100644
--- a/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/src/main/java/sample/HelloworldImpl.java
+++ b/sca-java-2.x/trunk/unreleased/samples/helloworld-contribution/src/main/java/sample/HelloworldImpl.java
@@ -18,19 +18,10 @@
*/
package sample;
-import org.oasisopen.sca.annotation.Init;
-import org.oasisopen.sca.annotation.Scope;
-import org.oasisopen.sca.annotation.EagerInit;
-
-@Scope("COMPOSITE") @EagerInit
public class HelloworldImpl implements Helloworld {
public String sayHello(String name) {
return "Hello " + name;
}
- @Init
- public void init() {
- System.out.println(sayHello("world"));
- }
}