|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.AbstractProxy
flex.messaging.io.BeanProxy
flex.messaging.io.MapProxy
flex.messaging.io.SerializationProxy
public class SerializationProxy
This class is the server side portion of a custom serialization mechanism to support partial serialization of Objects. The client uses the Externalizable interface to guarantee the serialization order of the properties. The name of the remote class is the first property send as it is needed to construct an object shell before deserializing any of the wrapped instance properties so that object references are correctly restored.
| Constructor Summary | |
|---|---|
SerializationProxy()
Default constructor required for deserialization of client SerializationProxy instances. |
|
SerializationProxy(Object defaultInstance)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a copy of the PropertyProxy so that it can be used as a template without modifying/creating global references to instances, descriptors etc. |
boolean |
isExternalizable()
Specifies whether the default instance manages its own serialization through the Externalizable interface. |
boolean |
isExternalizable(Object instance)
Specifies whether the given instance manages its own serialization through the Externalizable interface. |
void |
readExternal(ObjectInput in)
|
String |
toString()
A string including the default instance, class and descriptor info |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class flex.messaging.io.MapProxy |
|---|
getPropertyNames, getValue, setValue |
| Methods inherited from class flex.messaging.io.BeanProxy |
|---|
addIgnoreProperty, clear, getAlias, getType, isPropertyIgnored, isPublicAccessor, isPublicField |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SerializationProxy()
public SerializationProxy(Object defaultInstance)
| Method Detail |
|---|
public boolean isExternalizable()
AbstractProxy
isExternalizable in interface PropertyProxyisExternalizable in class AbstractProxypublic boolean isExternalizable(Object instance)
AbstractProxy
isExternalizable in interface PropertyProxyisExternalizable in class AbstractProxyinstance - the object to check
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic String toString()
AbstractProxy
toString in class AbstractProxypublic Object clone()
clone in interface PropertyProxyclone in class MapProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/SerializationProxy.html