You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by is...@apache.org on 2007/01/18 15:54:19 UTC

svn commit: r497451 - /incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java

Author: isilval
Date: Thu Jan 18 06:54:18 2007
New Revision: 497451

URL: http://svn.apache.org/viewvc?view=rev&rev=497451
Log:
Add service declaration

Modified:
    incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java

Modified: incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java?view=diff&rev=497451&r1=497450&r2=497451
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java (original)
+++ incubator/tuscany/java/samples/sca/helloworldwsclient-async/src/main/java/helloworld/HelloWorldServiceComponent.java Thu Jan 18 06:54:18 2007
@@ -19,6 +19,7 @@
 package helloworld;
 
 import org.osoa.sca.annotations.Scope;
+import org.osoa.sca.annotations.Service;
 
 import commonj.sdo.DataObject;
 
@@ -28,7 +29,7 @@
  * locate the HelloWorld service and invoke it.
  */
 
-
+@Service(HelloWorldLocal.class)
 @Scope("COMPOSITE")
 public class HelloWorldServiceComponent implements HelloWorldLocal, HelloWorldCallback {
    



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org