mandala.jacob.remote.gpf
Class RemoteCollectionProxy

java.lang.Object
  extended bymandala.jacob.remote.AbstractRemote
      extended bymandala.jacob.remote.AbstractLocalReferenceRetriever
          extended bymandala.jacob.remote.gpf.AbstractSingletonRemoteProxy
              extended bymandala.jacob.remote.gpf.RemoteCollectionProxy
All Implemented Interfaces:
java.util.Collection, LocalReferenceRetriever, Remote, RemoteCollection, java.io.Serializable
Direct Known Subclasses:
RemoteSetProxy

public abstract class RemoteCollectionProxy
extends AbstractSingletonRemoteProxy
implements RemoteCollection

Generic proxy for remote Collection implementation.

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

Nested Class Summary
 
Nested classes inherited from class mandala.jacob.remote.RemoteCollection
RemoteCollection.RemoteCollectionMethods
 
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
RemoteCollectionProxy(java.util.Collection collection, Client client, Exporter exporter, ExceptionHandler exceptionHandler)
           
 
Method Summary
 boolean add(java.lang.Object object)
           
 boolean addAll(java.util.Collection collection)
           
 boolean addAll(RemoteCollection collection)
           
 void clear()
           
 boolean contains(java.lang.Object object)
           
 boolean containsAll(java.util.Collection collection)
           
 boolean containsAll(RemoteCollection collection)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object object)
           
 boolean removeAll(java.util.Collection collection)
           
 boolean removeAll(RemoteCollection collection)
           
 boolean retainAll(java.util.Collection collection)
           
 boolean retainAll(RemoteCollection collection)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] objects)
           
 java.lang.String toString()
           
 
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.Collection
equals, hashCode
 
Methods inherited from interface mandala.jacob.remote.LocalReferenceRetriever
getID, getLocalReference
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Constructor Detail

RemoteCollectionProxy

public RemoteCollectionProxy(java.util.Collection collection,
                             Client client,
                             Exporter exporter,
                             ExceptionHandler exceptionHandler)
Method Detail

clear

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

contains

public boolean contains(java.lang.Object object)
Specified by:
contains in interface java.util.Collection

containsAll

public boolean containsAll(java.util.Collection collection)
Specified by:
containsAll in interface java.util.Collection

containsAll

public boolean containsAll(RemoteCollection collection)
Specified by:
containsAll in interface RemoteCollection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Collection

add

public boolean add(java.lang.Object object)
Specified by:
add in interface java.util.Collection

addAll

public boolean addAll(java.util.Collection collection)
Specified by:
addAll in interface java.util.Collection

addAll

public boolean addAll(RemoteCollection collection)
Specified by:
addAll in interface RemoteCollection

remove

public boolean remove(java.lang.Object object)
Specified by:
remove in interface java.util.Collection

removeAll

public boolean removeAll(java.util.Collection collection)
Specified by:
removeAll in interface java.util.Collection

removeAll

public boolean removeAll(RemoteCollection collection)
Specified by:
removeAll in interface RemoteCollection

retainAll

public boolean retainAll(java.util.Collection collection)
Specified by:
retainAll in interface java.util.Collection

retainAll

public boolean retainAll(RemoteCollection collection)
Specified by:
retainAll in interface RemoteCollection

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection

toArray

public java.lang.Object[] toArray(java.lang.Object[] objects)
Specified by:
toArray in interface java.util.Collection

size

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

isEmpty

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

toString

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


Mandala help mailing list