dekoh.portal.syndication.aggregator.core
Class AggregatorFactory
java.lang.Object
dekoh.portal.syndication.aggregator.core.AggregatorFactory
public class AggregatorFactory
- extends Object
AggregatorFactory is the creator of AggregatorImpl . This is the prefered way of creating
Feed aggregators as all aggregators created using this factory class will share a common thread pool based
implementation of FeedRetriever and FeedConsumer, thereby controlling the number of threads created
by various aggregators
- Since:
- Oct 8, 2007
|
Method Summary |
Aggregator |
createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
AggregatedItemTransformer[] transformers)
|
Aggregator |
createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
String aggregatorId,
AggregatedItemTransformer[] transformers)
|
Aggregator |
createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
String aggregatorId,
SubscriptionItemFetcher subscriptionItemFetcher,
AggregatedItemTransformer[] transformers)
|
Aggregator |
createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
SubscriptionItemFetcher itemFetcher,
AggregatedItemTransformer[] transformers)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
feedRetriever
public static final FeedRetriever feedRetriever
AggregatorFactory
public AggregatorFactory(File cacheDir)
createAggregator
public Aggregator createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
AggregatedItemTransformer[] transformers)
createAggregator
public Aggregator createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
SubscriptionItemFetcher itemFetcher,
AggregatedItemTransformer[] transformers)
createAggregator
public Aggregator createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
String aggregatorId,
AggregatedItemTransformer[] transformers)
throws AggregatorAlreadyExistsException
- Throws:
AggregatorAlreadyExistsException
createAggregator
public Aggregator createAggregator(SubscriptionList subscriptionList,
long scheduleFrequency,
String aggregatorId,
SubscriptionItemFetcher subscriptionItemFetcher,
AggregatedItemTransformer[] transformers)
throws AggregatorAlreadyExistsException
- Throws:
AggregatorAlreadyExistsException
© 2009 Pramati Technologies - Dekoh - Portal for Developers