summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"));
- }
}