|
|||||
|
|||||
SCA Support
The SCA specification defines a number of annotations which can be used to add metadata to your POJOs to help give runtimes an idea over how the remoting and clustering should work. For example using the SCA annotations you can describe which methods are asynchronous. import org.osoa.sca.annotations.OneWay; public class MyService { @OneWay public void doSomething(String name, long foo) { } } Enabling SCATo enable SCA you need to add the lingo-sca.jar to your classpath. Lingo will then use the SCAMetadataStrategy class by default for its Metadata Strategy unless you explicitly configure one in your Spring.xml. You can of course be specific and explicitly configure the Metadata Strategy implementation you wish to use etc. |
|||||
|
Copyright 2003-2006 - The Codehaus. All rights reserved unless otherwise noted.
Powered by Atlassian Confluence
|
|||||