org.cruxframework.crux.core.rebind.rpc
Class CruxServiceGenerator

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

public class CruxServiceGenerator
extends com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator

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

The wrapper has two goals:
- Point all requests that does not inform an endPoint to the Crux FrontController Servlet.
- Handle security issues like SynchronizationToken for sensitive methods.

Author:
Thiago da Rosa de Bustamante

Constructor Summary
CruxServiceGenerator()
           
 
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

CruxServiceGenerator

public CruxServiceGenerator()
Method Detail

createProxyCreator

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


Copyright © 2014. All rights reserved.