Dekoh platform API

dekoh.portal.syndication.aggregator.managed
Class AutoRecheduleListener

java.lang.Object
  extended by dekoh.portal.syndication.aggregator.managed.AutoRecheduleListener
All Implemented Interfaces:
SubscriptionListListener

public class AutoRecheduleListener
extends Object
implements SubscriptionListListener

AutoRecheduleListener will reschedule the aggregator when ever a new SubscriptionItem is added to the SubscriptionList, which is being aggregated.

In most instances, instantiating this class is not required. Aggregator instances created by AggregationManager.createTrayAggregator() method are rescheduled when ever a new SubscriptionItem is added to this aggregator's subscription list.

This is done to reflect the addition in aggregated rss feed immediately. Otherwise, for the news from the new subscription item to be visible, users will have to wait until next time aggregator is scheduled.

Since:
Nov 23, 2007

Constructor Summary
AutoRecheduleListener(Aggregator aggregator)
           
 
Method Summary
 void addedSubscriptionItem(SubscriptionItem addedItem)
           
 void removedSubscriptionItem(SubscriptionItem removedItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoRecheduleListener

public AutoRecheduleListener(Aggregator aggregator)
Method Detail

addedSubscriptionItem

public void addedSubscriptionItem(SubscriptionItem addedItem)
Specified by:
addedSubscriptionItem in interface SubscriptionListListener

removedSubscriptionItem

public void removedSubscriptionItem(SubscriptionItem removedItem)
Specified by:
removedSubscriptionItem in interface SubscriptionListListener

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers