From 1902945b84952c6988c0828102a4d91b95a8d522 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 14 Mar 2011 08:47:08 +0000 Subject: 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 --- .../trunk/unreleased/samples/helloworld-contribution/pom.xml | 2 -- .../src/main/java/sample/HelloworldImpl.java | 9 --------- 2 files changed, 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 @@ org.apache.tuscany.sca.samples helloworld-contribution 2.0-SNAPSHOT - jar Tuscany Sample Helloworld Contribution @@ -66,7 +65,6 @@ install - helloworld-contribution 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")); - } } -- cgit v1.2.3