ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Ws Wiki] Update of "Tuscany/TuscanyJava/SCA Java Overview" by Venkatakrishnan
Date Sat, 05 Aug 2006 09:32:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by Venkatakrishnan:

     The testcases of SCA Samples extend from SCATestCase which starts the Launcher as part
of the test setup.  Thus before the testcases are actually executed the Laucher is started
and it handles the booting of the SCA Runtime, loading of system components as well as the
application components (spread across various scdl files).  Hence the sample testcases simply
deal with obtaining a runtime context, locating the service component being tested and invoking
service methods on them. 
-         ''CompositeContext context = CurrentCompositeContext.getContext();''
+         ''CompositeContext context = CurrentCompositeContext.getContext();
-         "helloWorldService = context.locateService(HelloWorldService.class, "HelloWorldComponent");"
+         helloWorldService = context.locateService(HelloWorldService.class, "HelloWorldComponent");
-         "System.out.println(helloWorldService.sayHello("Friend"));"
+         System.out.println(helloWorldService.sayHello("Friend"));''

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message