org.cruxframework.crux.plugin.gadget.rebind.rpc
Class CruxGadgetServiceGenerator

java.lang.Object
  extended by com.google.gwt.core.ext.Generator
      extended by com.google.gwt.core.ext.IncrementalGenerator
          extended by com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator
              extended by org.cruxframework.crux.core.rebind.rpc.CruxServiceGenerator
                  extended by org.cruxframework.crux.plugin.gadget.rebind.rpc.CruxGadgetServiceGenerator

public class CruxGadgetServiceGenerator
extends org.cruxframework.crux.core.rebind.rpc.CruxServiceGenerator

This class overrides, through CruxGadgetProxyCreator, the Crux Service Generator to add a wrapper class around the original generated class.

The wrapper redirects the original request through a proxy, as described on:
http://code.google.com/p/gwt-google-apis/wiki/GadgetsFAQ#How_can_I_get_GWT_RPC_to_work_in_a_Gadget?

Author:
Thiago da Rosa de Bustamante

Constructor Summary
CruxGadgetServiceGenerator()
           
 
Method Summary
protected  com.google.gwt.user.rebind.rpc.ProxyCreator createProxyCreator(com.google.gwt.core.ext.typeinfo.JClassType remoteService)
           
 
Methods inherited from class com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator
generateIncrementally, getVersionId
 
Methods inherited from class com.google.gwt.core.ext.IncrementalGenerator
generate, generateNonIncrementally
 
Methods inherited from class com.google.gwt.core.ext.Generator
escape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruxGadgetServiceGenerator

public CruxGadgetServiceGenerator()
Method Detail

createProxyCreator

protected com.google.gwt.user.rebind.rpc.ProxyCreator createProxyCreator(com.google.gwt.core.ext.typeinfo.JClassType remoteService)
Overrides:
createProxyCreator in class org.cruxframework.crux.core.rebind.rpc.CruxServiceGenerator


Copyright © 2014. All rights reserved.