de.kosi.util
Class DBDistributedListImpl
java.lang.Object
|
+--de.kosi.util.DistributedListImpl
|
+--de.kosi.util.DBDistributedListImpl
- All Implemented Interfaces:
- DistributedList, java.rmi.Remote, java.io.Serializable
- public class DBDistributedListImpl
- extends DistributedListImpl
A Distributed List backed by a database,
ChangeLog:
$Log: DBDistributedListImpl.java,v $
Revision 1.2 2001/06/04 14:21:10 jiriki
Made source more comliant to coding guidelines.
Revision 1.1.1.1 2001/04/29 18:05:19 jiriki
Imported sources from zola.
Revision 1.2 2001/03/18 18:10:26 wombat
Updated Documentation
- Version:
- $Revision: 1.2 $ ($Date: 2001/06/04 14:21:10 $)
- Author:
- Jan-Ole Janssen, Niklas Mehner, Time Sticher
- See Also:
- Serialized Form
Method Summary |
void |
add(java.lang.Object entry)
Adds an entry to the list. |
void |
addDistributedListListener(DistributedListListener listener,
DistributedListFilter filter)
Adds a DistributedListListener. |
void |
change(java.lang.Object entry)
Notifies the list, that an entry has changed. |
protected java.lang.Object |
readResolve()
This method is called during deserialization and is
used to initialize transient fields. |
void |
remove(java.lang.Object entry)
Removes an entry from the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBDistributedListImpl
public DBDistributedListImpl()
- Create a new DBDistributedListImpl.
readResolve
protected java.lang.Object readResolve()
- This method is called during deserialization and is
used to initialize transient fields.
- Overrides:
readResolve
in class DistributedListImpl
- Returns:
- this
add
public void add(java.lang.Object entry)
- Adds an entry to the list.
- Overrides:
add
in class DistributedListImpl
- Parameters:
entry
- entry to be added to the list.
remove
public void remove(java.lang.Object entry)
- Removes an entry from the list.
- Overrides:
remove
in class DistributedListImpl
- Parameters:
entry
- entry to be removed to the list.
change
public void change(java.lang.Object entry)
- Notifies the list, that an entry has changed.
- Overrides:
change
in class DistributedListImpl
- Parameters:
entry
- entry that has changed.
addDistributedListListener
public void addDistributedListListener(DistributedListListener listener,
DistributedListFilter filter)
throws InvalidSessionException
- Adds a DistributedListListener.
- Overrides:
addDistributedListListener
in class DistributedListImpl
- Parameters:
listener
- listener to be added.filter
- filter for that listener. Only entries, that are not
filtered are send to the listener.- Throws:
InvalidSessionException
- when not called from within a valid
session context.