flex.messaging.io
Class ObjectProxy

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by flex.messaging.io.ObjectProxy
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Map

public class ObjectProxy
extends HashMap
implements Externalizable

Flex's ObjectProxy class allows an anonymous, dynamic ActionScript Object to be bindable and report change events. Since ObjectProxy only wraps the ActionScript Object type we can map the class to a java.util.HashMap on the server, since the user would expect this type to be deserialized as a java.util.HashMap as it is...

See Also:
Serialized Form

Constructor Summary
ObjectProxy()
           
ObjectProxy(int initialCapacity)
           
ObjectProxy(int initialCapacity, float loadFactor)
           
 
Method Summary
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ObjectProxy

public ObjectProxy()

ObjectProxy

public ObjectProxy(int initialCapacity)

ObjectProxy

public ObjectProxy(int initialCapacity,
                   float loadFactor)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

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/ObjectProxy.html