From 1c74e1e3677538fd77cb880282665e272653f694 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 28 May 2009 17:55:37 +0000 Subject: TUSCANY-2978 - add some property tests git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779700 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/sample/ejb3/HelloworldService8Bean.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java') diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java/sample/ejb3/HelloworldService8Bean.java b/branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java/sample/ejb3/HelloworldService8Bean.java index 6d90aaead1..a6d7f2dd04 100644 --- a/branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java/sample/ejb3/HelloworldService8Bean.java +++ b/branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java/sample/ejb3/HelloworldService8Bean.java @@ -19,7 +19,8 @@ package sample.ejb3; import javax.ejb.Stateless; -//import org.osoa.sca.annotations.Reference; +import org.osoa.sca.annotations.Property; +import org.osoa.sca.annotations.Reference; /** * HelloworldService EJB implementation SCA enhancement @@ -28,8 +29,11 @@ import javax.ejb.Stateless; @Stateless public class HelloworldService8Bean implements HelloworldService8, HelloworldLocal8 { - //@Reference - //protected HelloworldService8 hwReference; + @Reference + protected HelloworldService8 hwReference; + + @Property + protected String hwProperty; public String getGreetings(String name) { String greeting = "Hello remote " + name; -- cgit v1.2.3