public class

RpcProxyCreator

extends ProxyCreator
java.lang.Object
   ↳ com.google.gwt.user.rebind.rpc.ProxyCreator
     ↳ com.google.gwt.rpc.rebind.RpcProxyCreator

Class Overview

Generates async proxy implementations using the RPC system.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.rebind.rpc.ProxyCreator
[Expand]
Inherited Fields
From class com.google.gwt.user.rebind.rpc.ProxyCreator
Public Constructors
RpcProxyCreator(JClassType type)
Protected Methods
String computeTypeNameExpression(JType paramType)
void generateProxyContructor(SourceWriter srcWriter)
Generate the proxy constructor and delegate to the superclass constructor using the default address for the RemoteService.
void generateProxyFields(SourceWriter srcWriter, SerializableTypeOracle serializableTypeOracle, String serializationPolicyStrongName, String remoteServiceInterfaceName)
Generate any fields required by the proxy.
void generateStreamWriterOverride(SourceWriter srcWriter)
void generateTypeHandlers(TreeLogger logger, GeneratorContextExt ctx, SerializableTypeOracle serializationSto, SerializableTypeOracle deserializationSto)
Class<? extends RemoteServiceProxy> getProxySupertype()
Class<? extends SerializationStreamWriter> getStreamWriterClass()
String writeSerializationPolicyFile(TreeLogger logger, GeneratorContextExt ctx, SerializableTypeOracle serializationSto, SerializableTypeOracle deserializationSto)
[Expand]
Inherited Methods
From class com.google.gwt.user.rebind.rpc.ProxyCreator
From class java.lang.Object

Public Constructors

public RpcProxyCreator (JClassType type)

Protected Methods

protected String computeTypeNameExpression (JType paramType)

protected void generateProxyContructor (SourceWriter srcWriter)

Generate the proxy constructor and delegate to the superclass constructor using the default address for the RemoteService.

protected void generateProxyFields (SourceWriter srcWriter, SerializableTypeOracle serializableTypeOracle, String serializationPolicyStrongName, String remoteServiceInterfaceName)

Generate any fields required by the proxy.

Parameters
serializableTypeOracle the type oracle

protected void generateStreamWriterOverride (SourceWriter srcWriter)

protected void generateTypeHandlers (TreeLogger logger, GeneratorContextExt ctx, SerializableTypeOracle serializationSto, SerializableTypeOracle deserializationSto)

Throws
UnableToCompleteException

protected Class<? extends RemoteServiceProxy> getProxySupertype ()

protected Class<? extends SerializationStreamWriter> getStreamWriterClass ()

protected String writeSerializationPolicyFile (TreeLogger logger, GeneratorContextExt ctx, SerializableTypeOracle serializationSto, SerializableTypeOracle deserializationSto)

Throws
UnableToCompleteException