| 
org.codehaus.gpars | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovyx.gpars.serial.WithSerialId
public abstract class WithSerialId
Base class for objects which can be exposed to remote nodes via serialization.
Main concept is following:
See java.io.Serializable for detailed description how methods writeReplace & readResolve works.
It is very important to know that (de)serialization never happens by itself but always happens in context of RemoteHost and (
| Field Summary | |
|---|---|
        SerialHandle | 
        
            serialHandle
             | 
        
        private static long | 
        
            serialVersionUID
             | 
        
| Constructor Summary | |
            WithSerialId()
             | 
        |
| Method Summary | |
|---|---|
            protected RemoteHandle
         | 
        
            createRemoteHandle(SerialHandle handle, SerialContext host)
             | 
        
            SerialHandle
         | 
        
            getOrCreateSerialHandle()
             | 
        
            java.lang.Class
         | 
        
            getRemoteClass()
            Replace object by handle for serialization  | 
        
            protected java.lang.Object
         | 
        
            writeReplace()
             | 
        
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
| Field Detail | 
|---|
public SerialHandle serialHandle
private static final long serialVersionUID
| Constructor Detail | 
|---|
WithSerialId()
| Method Detail | 
|---|
protected RemoteHandle createRemoteHandle(SerialHandle handle, SerialContext host)
public final SerialHandle getOrCreateSerialHandle()
public java.lang.Class getRemoteClass()
@java.lang.SuppressWarnings} protected final java.lang.Object writeReplace()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.