GWT 2.6.0-rc4

com.google.gwt.rpc.server
Class CommandSerializationUtil

java.lang.Object
  extended by com.google.gwt.rpc.server.CommandSerializationUtil

public class CommandSerializationUtil
extends java.lang.Object

Contains common utility code.


Nested Class Summary
static interface CommandSerializationUtil.Accessor
          Defines methods for getting and setting fields.
 
Method Summary
(package private) static
<T> T
allocateInstance(java.lang.Class<T> clazz)
          TODO: In the future it may be preferable to use a custom ClassLoader to inject a constructor that will initialize all of the final fields that we care about.
static CommandSerializationUtil.Accessor getAccessor(java.lang.Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAccessor

public static CommandSerializationUtil.Accessor getAccessor(java.lang.Class<?> clazz)

allocateInstance

static <T> T allocateInstance(java.lang.Class<T> clazz)
                   throws java.lang.InstantiationException
TODO: In the future it may be preferable to use a custom ClassLoader to inject a constructor that will initialize all of the final fields that we care about.

Throws:
java.lang.InstantiationException

GWT 2.6.0-rc4