Search in sources :

Example 1 with RemoteCommandServiceAsync

use of org.activityinfo.legacy.shared.command.RemoteCommandServiceAsync in project activityinfo by bedatadriven.

the class RemoteServiceProvider method get.

@Override
public RemoteCommandServiceAsync get() {
    RemoteCommandServiceAsync remoteService = GWT.create(RemoteCommandService.class);
    ServiceDefTarget endpoint = (ServiceDefTarget) remoteService;
    String moduleRelativeURL = GWT.getModuleBaseURL() + "cmd";
    endpoint.setServiceEntryPoint(moduleRelativeURL);
    return remoteService;
}
Also used : RemoteCommandServiceAsync(org.activityinfo.legacy.shared.command.RemoteCommandServiceAsync) ServiceDefTarget(com.google.gwt.user.client.rpc.ServiceDefTarget)

Aggregations

ServiceDefTarget (com.google.gwt.user.client.rpc.ServiceDefTarget)1 RemoteCommandServiceAsync (org.activityinfo.legacy.shared.command.RemoteCommandServiceAsync)1