diff options
Diffstat (limited to 'branches/sca-java-1.4/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java')
-rw-r--r-- | branches/sca-java-1.4/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/branches/sca-java-1.4/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java b/branches/sca-java-1.4/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java deleted file mode 100644 index 8b52e42754..0000000000 --- a/branches/sca-java-1.4/samples/helloworld-web-callback/src/main/java/sample/HelloworldServiceImpl.java +++ /dev/null @@ -1,27 +0,0 @@ -package sample;
-
-import org.osoa.sca.annotations.Callback;
-import org.osoa.sca.annotations.Service;
-
-@Service(HelloworldService.class)
-public class HelloworldServiceImpl implements HelloworldService {
-
- @Callback
- public HelloworldCallback callback;
-
- public void sayHello(final String name) {
- Thread t = new Thread(new Runnable() {
- public void run() {
- for (int i=0; i<5; i++) {
- callback.sayHelloCallback(i + "Hello " + name);
- try {
- Thread.sleep(5000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
- }});
- t.start();
- }
-
-}
|