You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/02/27 05:22:07 UTC
svn commit: r381255 -
/incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java
Author: jsdelfino
Date: Sun Feb 26 20:22:04 2006
New Revision: 381255
URL: http://svn.apache.org/viewcvs?rev=381255&view=rev
Log:
added temporary workaround for JIRA tuscany-41
Modified:
incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java
Modified: incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java?rev=381255&r1=381254&r2=381255&view=diff
==============================================================================
--- incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java (original)
+++ incubator/tuscany/java/samples/helloworld/helloworldwsclient/src/main/java/org/apache/tuscany/samples/helloworldwsclient/HelloWorldServiceComponentImpl.java Sun Feb 26 20:22:04 2006
@@ -16,6 +16,7 @@
*/
package org.apache.tuscany.samples.helloworldwsclient;
+import org.osoa.sca.annotations.Scope;
import org.osoa.sca.annotations.Service;
import org.osoa.sca.annotations.Reference;
@@ -23,7 +24,10 @@
* This class implements the HelloWorld service component.
*/
@Service(HelloWorldServiceComponent.class)
+//FIXME workaround for JIRA TUSCANY-41
+@Scope("MODULE")
public class HelloWorldServiceComponentImpl implements HelloWorldServiceComponent {
+
@Reference
public HelloWorldServiceComponent hellowWorldService = null; // Injected by the SCA container.