mandala.jacob.remote.gpf
Class RemoteMapProxy

java.lang.Object
  extended bymandala.jacob.remote.AbstractRemote
      extended bymandala.jacob.remote.AbstractLocalReferenceRetriever
          extended bymandala.jacob.remote.gpf.AbstractSingletonRemoteProxy
              extended bymandala.jacob.remote.gpf.RemoteMapProxy
All Implemented Interfaces:
LocalReferenceRetriever, java.util.Map, Remote, RemoteMap, java.io.Serializable
Direct Known Subclasses:
RemoteActiveMapProxy

public abstract class RemoteMapProxy
extends AbstractSingletonRemoteProxy
implements RemoteMap

Generic proxy for remote Map implementation.

Version:
$Revision: 1.4 $
Author:
eipi
See Also:
AbstractRemote, RemoteMap, ExceptionHandler, Serialized Form

Nested Class Summary
static class RemoteMapProxy.RemoteEntryProxy
          Generic proxy for remote Map.Entry implementation.
 
Nested classes inherited from class mandala.jacob.remote.RemoteMap
RemoteMap.RemoteEntry, RemoteMap.RemoteMapMethods
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class mandala.jacob.remote.gpf.AbstractSingletonRemoteProxy
client, exporter
 
Fields inherited from class mandala.jacob.remote.AbstractRemote
defaultExceptionHandler, exceptionHandler, syslog
 
Constructor Summary
RemoteMapProxy(java.util.Map map, Client client, Exporter exporter, ExceptionHandler exceptionHandler)
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set entrySet()
          Returns a RemoteSet value.
 java.lang.Object get(java.lang.Object key)
           
 boolean isEmpty()
           
 java.util.Set keySet()
          Returns a RemoteSet value.
 java.lang.Object put(java.lang.Object key, java.lang.Object object)
           
 void putAll(java.util.Map m)
           
 void putAll(RemoteMap m)
           
 java.lang.Object remove(java.lang.Object key)
           
 int size()
           
 java.lang.String toString()
           
 java.util.Collection values()
          Returns a RemoteCollection value.
 
Methods inherited from class mandala.jacob.remote.gpf.AbstractSingletonRemoteProxy
readResolve
 
Methods inherited from class mandala.jacob.remote.AbstractLocalReferenceRetriever
finalize, getID, getLocalReference
 
Methods inherited from class mandala.jacob.remote.AbstractRemote
getDefaultExceptionHandler, getExceptionHandler, getSyslog, handleException, setDefaultExceptionHandler, setExceptionHandler, setSyslog
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 
Methods inherited from interface mandala.jacob.remote.LocalReferenceRetriever
getID, getLocalReference
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Constructor Detail

RemoteMapProxy

public RemoteMapProxy(java.util.Map map,
                      Client client,
                      Exporter exporter,
                      ExceptionHandler exceptionHandler)
Method Detail

clear

public void clear()
Specified by:
clear in interface java.util.Map

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map

entrySet

public java.util.Set entrySet()
Description copied from interface: RemoteMap

Returns a RemoteSet value.

Specified by:
entrySet in interface RemoteMap
Returns:
a RemoteSet value
See Also:
RemoteSet

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object object)
Specified by:
put in interface java.util.Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map

keySet

public java.util.Set keySet()
Description copied from interface: RemoteMap

Returns a RemoteSet value.

Specified by:
keySet in interface RemoteMap
Returns:
a RemoteSet value
See Also:
RemoteSet

putAll

public void putAll(java.util.Map m)
Specified by:
putAll in interface java.util.Map

putAll

public void putAll(RemoteMap m)
Specified by:
putAll in interface RemoteMap

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map

size

public int size()
Specified by:
size in interface java.util.Map

values

public java.util.Collection values()
Description copied from interface: RemoteMap

Returns a RemoteCollection value.

Specified by:
values in interface RemoteMap
Returns:
a RemoteCollection value
See Also:
RemoteCollection

toString

public java.lang.String toString()
Overrides:
toString in class AbstractSingletonRemoteProxy


Mandala help mailing list