com.vaadin.terminal.gwt.widgetsetutils
Class RpcProxyGenerator

java.lang.Object
  extended by com.google.gwt.core.ext.Generator
      extended by com.vaadin.terminal.gwt.widgetsetutils.RpcProxyGenerator

public class RpcProxyGenerator
extends com.google.gwt.core.ext.Generator

GWT generator that creates client side proxy classes for making RPC calls from the client to the server. GWT.create() calls for interfaces extending ServerRpc are affected, and a proxy implementation is created. Note that the init(...) method of the proxy must be called before the proxy is used.

Since:
7.0

Constructor Summary
RpcProxyGenerator()
           
 
Method Summary
 String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext ctx, String requestedClassName)
           
 
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

RpcProxyGenerator

public RpcProxyGenerator()
Method Detail

generate

public String generate(com.google.gwt.core.ext.TreeLogger logger,
                       com.google.gwt.core.ext.GeneratorContext ctx,
                       String requestedClassName)
                throws com.google.gwt.core.ext.UnableToCompleteException
Specified by:
generate in class com.google.gwt.core.ext.Generator
Throws:
com.google.gwt.core.ext.UnableToCompleteException


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.