001 package grails.plugins.gwt.client; 002 003 import com.google.gwt.user.client.rpc.RemoteService; 004 import grails.plugins.gwt.shared.Action; 005 import grails.plugins.gwt.shared.Response; 006 007 /** 008 * GWT RPC interface for the plugin's action service. Any client requests 009 * that need to go to action handlers on the server-side should go through 010 * this interface. 011 */ 012 public interface GwtActionService extends RemoteService { 013 <T extends Response> T execute(Action<T> action); 014 }