Example usage for com.google.gwt.user.server.rpc.impl SerializedInstanceReference SerializedInstanceReference

List of usage examples for com.google.gwt.user.server.rpc.impl SerializedInstanceReference SerializedInstanceReference

Introduction

In this page you can find the example usage for com.google.gwt.user.server.rpc.impl SerializedInstanceReference SerializedInstanceReference.

Prototype

SerializedInstanceReference

Source Link

Usage

From source file:com.apress.progwt.server.gwt.SerializabilityUtil_1_5_3.java

License:Apache License

public static SerializedInstanceReference decodeSerializedInstanceReference(
        String encodedSerializedInstanceReference) {
    final String[] components = encodedSerializedInstanceReference
            .split(SerializedInstanceReference.SERIALIZED_REFERENCE_SEPARATOR);
    return new SerializedInstanceReference() {
        public String getName() {
            return components.length > 0 ? components[0] : "";
        }/*from   w ww.  j a v  a2s . c o m*/

        public String getSignature() {
            return components.length > 1 ? components[1] : "";
        }
    };
}