summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-24 12:01:49 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-24 12:01:49 +0000
commitc572d6c4d9c68e64291c2d8527b19c3a18bd85fa (patch)
tree952e44331380bcdbdf99fb02660ebc2531f04b1b /branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java
parentfea84bc2dd440ae3c7d36990ad24455166455415 (diff)
TUSCANY-2930 extend default format test for the chase where default is specified on reference but not on the service
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@768265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java')
-rw-r--r--branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java b/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java
index 7271deac24..87192fbad5 100644
--- a/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java
+++ b/branches/sca-java-1.x/itest/jms-format/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmsdefault/helloworld/HelloWorldReferenceImpl.java
@@ -31,17 +31,22 @@ public class HelloWorldReferenceImpl implements HelloWorldService {
@Reference
protected HelloWorldService helloWorldService3;
+
+ @Reference
+ protected HelloWorldService helloWorldService4;
public String getGreetings(String name){
return helloWorldService1.getGreetings(name) + " " +
helloWorldService2.getGreetings(name) + " " +
- helloWorldService3.getGreetings(name);
+ helloWorldService3.getGreetings(name) + " " +
+ helloWorldService4.getGreetings(name);
}
public String getPersonGreetings(Person person){
return helloWorldService1.getPersonGreetings(person) + " " +
helloWorldService2.getPersonGreetings(person) + " " +
- helloWorldService3.getPersonGreetings(person);
+ helloWorldService3.getPersonGreetings(person) + " " +
+ helloWorldService4.getPersonGreetings(person);
}
}