org.cruxframework.crux.core.rebind.rpc
Class CruxServiceGenerator
java.lang.Object
com.google.gwt.core.ext.Generator
com.google.gwt.core.ext.IncrementalGenerator
com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator
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
|
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 |
CruxServiceGenerator
public CruxServiceGenerator()
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.