Blame | Last modification | View Log | RSS feed
package in.shop2020.hotspot.dashbaord.client.dispatch;import com.google.gwt.user.client.rpc.AsyncCallback;import com.google.inject.Inject;import net.customware.gwt.dispatch.client.DispatchAsync;import net.customware.gwt.dispatch.shared.Action;import net.customware.gwt.dispatch.shared.Result;public class DispatcherAsync implements DispatchAsync{private final DispatchAsync dispatcher;@Injectpublic DispatcherAsync(final DispatchAsync dispatcher){this.dispatcher = dispatcher;}@Overridepublic <A extends Action<R>, R extends Result> void execute(A action,AsyncCallback<R> callback) {dispatcher.execute(action, callback);}}