diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-28 17:55:37 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-28 17:55:37 +0000 |
commit | 1c74e1e3677538fd77cb880282665e272653f694 (patch) | |
tree | 0069c2bf2b6e668d1221972cb0bf67d674186bbc /branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java | |
parent | 8d8e068dde89a44c2428835f5be1df6463ab3f02 (diff) |
TUSCANY-2978 - add some property tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java')
-rw-r--r-- | branches/sca-java-1.x/itest/contribution-jee-samples/ejb-enhanced/src/main/java/sample/ejb3/HelloworldService8Bean.java | 10 |
1 files changed, 7 insertions, 3 deletions
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; |