use of org.activityinfo.shared.command.RemoteCommandServiceAsync in project activityinfo by bedatadriven.
the class RemoteServiceProvider method get.
@Override
public RemoteCommandServiceAsync get() {
RemoteCommandServiceAsync remoteService = (RemoteCommandServiceAsync) GWT.create(RemoteCommandService.class);
ServiceDefTarget endpoint = (ServiceDefTarget) remoteService;
String moduleRelativeURL = GWT.getModuleBaseURL() + "cmd";
endpoint.setServiceEntryPoint(moduleRelativeURL);
return remoteService;
}
Aggregations