|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
mandala.jacob.remote.rmi.RMICollectionImpl
Java-RMI implementation of the RMICollection
interface.
RMICollection
,
UnicastRemoteObject
,
Serialized FormField Summary | |
protected java.util.Collection |
collection
The Collection used to stock objects. |
protected java.lang.Object |
lock
Lock for collection. |
protected static Syslog |
syslog
Message logger. |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
RMICollectionImpl(java.util.Collection collection)
|
|
RMICollectionImpl(java.util.Collection collection,
int port)
|
Method Summary | |
boolean |
add(java.lang.Object object)
|
boolean |
addAll(RemoteCollection collection)
|
void |
clear()
|
boolean |
contains(java.lang.Object object)
|
boolean |
containsAll(RemoteCollection collection)
|
static Syslog |
getSyslog()
Returns the Syslog object facility. |
boolean |
isEmpty()
|
RemoteIterator |
iterator()
|
boolean |
remove(java.lang.Object object)
|
boolean |
removeAll(RemoteCollection 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 java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final Syslog syslog
Message logger.
Each message (debug, log, warning, error, ...) are wrote to this message logger.
Syslog
protected java.util.Collection collection
Collection
used to stock objects.
Collection
protected java.lang.Object lock
Constructor Detail |
public RMICollectionImpl(java.util.Collection collection) throws java.rmi.RemoteException
public RMICollectionImpl(java.util.Collection collection, int port) throws java.rmi.RemoteException
Method Detail |
public static Syslog getSyslog()
Returns the Syslog
object facility.
Each message (debug, log, warning, error, ...) are wrote to this message logger.
Syslog
objectSyslog
public void clear() throws java.rmi.RemoteException
clear
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean contains(java.lang.Object object) throws java.rmi.RemoteException
contains
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean containsAll(RemoteCollection collection) throws java.rmi.RemoteException
containsAll
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public RemoteIterator iterator() throws java.rmi.RemoteException
iterator
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean add(java.lang.Object object) throws java.rmi.RemoteException
add
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean addAll(RemoteCollection collection) throws java.rmi.RemoteException
addAll
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean remove(java.lang.Object object) throws java.rmi.RemoteException
remove
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean removeAll(RemoteCollection collection) throws java.rmi.RemoteException
removeAll
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean retainAll(RemoteCollection collection) throws java.rmi.RemoteException
retainAll
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public java.lang.Object[] toArray() throws java.rmi.RemoteException
toArray
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public java.lang.Object[] toArray(java.lang.Object[] objects) throws java.rmi.RemoteException
toArray
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public boolean isEmpty() throws java.rmi.RemoteException
isEmpty
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public int size() throws java.rmi.RemoteException
size
in interface mandala.jacob.remote.rmi.RMICollectionOp
java.rmi.RemoteException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |