|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.nava.informa.utils.cleaner.PersistenceObserver
public class PersistenceObserver
Watches for events about unwanted items and removes them from channel using given manager.
| Constructor Summary | |
|---|---|
PersistenceObserver(PersistenceManagerIF manager)
Creates observer. |
|
| Method Summary | |
|---|---|
void |
cleaningFinished(ChannelIF channel)
Invoked by cleanup engine when cleaning of the channel has finished. |
void |
cleaningStarted(ChannelIF channel)
Invoked by cleanup engine when cleaning of the channel has started. |
void |
unwantedItem(ItemIF item,
ChannelIF channel)
Invoked when cleanup engine finds unwanted item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceObserver(PersistenceManagerIF manager)
manager - manager to use for persistent changes.
IllegalArgumentException - if manager isn't specified.| Method Detail |
|---|
public final void unwantedItem(ItemIF item,
ChannelIF channel)
unwantedItem in interface CleanerObserverIFitem - unwanted item.channel - channel this item resides in.public void cleaningStarted(ChannelIF channel)
cleaningStarted in interface CleanerObserverIFchannel - channel being cleaned.public void cleaningFinished(ChannelIF channel)
cleaningFinished in interface CleanerObserverIFchannel - channel being cleaned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||