de.nava.informa.utils
Class SimpleChannelObserver
java.lang.Object
de.nava.informa.utils.SimpleChannelObserver
- All Implemented Interfaces:
- ChannelObserverIF
public class SimpleChannelObserver
- extends Object
- implements ChannelObserverIF
Simple implementation of the ChannelOberserverIF interface for
keeping track of the added news item (and also to properly handle
it by the logging facility).
- Author:
- Niko Schmuck (niko@nava.de)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleChannelObserver
public SimpleChannelObserver()
getMyAddedItem
public ItemIF getMyAddedItem()
itemAdded
public void itemAdded(ItemIF newItem)
- Description copied from interface:
ChannelObserverIF
- Called when a new Item is added to this Channel
- Specified by:
itemAdded
in interface ChannelObserverIF
- Parameters:
newItem
- - Item that was added.
channelRetrieved
public void channelRetrieved(ChannelIF channel)
- Description copied from interface:
ChannelObserverIF
- Called when a new Channel is added
- Specified by:
channelRetrieved
in interface ChannelObserverIF
- Parameters:
channel
- - Channel that was added
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.