You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2008/02/21 14:56:19 UTC
svn commit: r629787 - in
/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main:
java/helloworld/HelloWorldClient.java
webapp/META-INF/sca-deployables/HelloWorld.composite
Author: antelder
Date: Thu Feb 21 05:56:18 2008
New Revision: 629787
URL: http://svn.apache.org/viewvc?rev=629787&view=rev
Log:
Change reference name to avoid confucion with service name
Modified:
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java
incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
Modified: incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java?rev=629787&r1=629786&r2=629787&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java (original)
+++ incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/java/helloworld/HelloWorldClient.java Thu Feb 21 05:56:18 2008
@@ -23,15 +23,15 @@
*/
public class HelloWorldClient implements HelloWorldService {
- HelloWorldService helloWorldService;
+ HelloWorldService helloWorldRef;
public String sayHello(String name) {
System.out.println("HelloWorldClient.sayHello " + name);
- return helloWorldService.sayHello(name);
+ return helloWorldRef.sayHello(name);
}
- public void setHelloWorldService(HelloWorldService helloWorldService) {
- System.out.println("HelloWorldClient .setHelloWorldService " + helloWorldService);
- this.helloWorldService = helloWorldService;
+ public void setHelloWorldRef(HelloWorldService helloWorldRef) {
+ System.out.println("HelloWorldClient .setHelloWorldService " + helloWorldRef);
+ this.helloWorldRef = helloWorldRef;
}
}
Modified: incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite?rev=629787&r1=629786&r2=629787&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite (original)
+++ incubator/tuscany/java/sca/samples/helloworld-jms-webapp/src/main/webapp/META-INF/sca-deployables/HelloWorld.composite Thu Feb 21 05:56:18 2008
@@ -24,7 +24,7 @@
<component name="HelloWorldClient">
<implementation.java class="helloworld.HelloWorldClient"/>
- <reference name="helloWorldService">
+ <reference name="helloWorldRef">
<binding.jms uri="jms:HelloWorldService"/>
</reference>
</component>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org