litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package org.litesoft.sandbox.csapp.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("CSappService")
public interface CSappService extends RemoteService
{
String getMessage( String msg );
/**
* Utility/Convenience class.
* Use CSappService.App.getInstance() to access static instance of CSappServiceAsync
*/
public static class App
{
private static CSappServiceAsync ourInstance = GWT.create( CSappService.class );
public static synchronized CSappServiceAsync getInstance()
{
return ourInstance;
}
}
}
|
Revision |
Author |
Commited |
Message |
338
|
GeorgeS
|
Sun 31 Jul, 2011 20:41:14 +0000 |
|