|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bejug.javacareers.feeder.FeederTask
org.bejug.javacareers.feeder.AggregatorFeederTask
Reads RSS files and stores the data in a datasource.
| Field Summary | |
static org.apache.commons.logging.Log |
LOG
The class logger. |
| Fields inherited from class org.bejug.javacareers.feeder.FeederTask |
channel, filepath |
| Constructor Summary | |
AggregatorFeederTask()
|
|
| Method Summary | |
void |
addListsToDataBase(java.util.ArrayList lists)
Adds the Joblists to the database. |
java.util.Comparator |
getByFeedURL()
|
void |
init()
Called by IoC container after constructor. |
void |
mergeAndUpdateLists(java.util.List newList,
java.util.List oldList)
merges and updates the lists. |
java.util.ArrayList |
processFeeds()
Process the feeds and returns JobLists. |
void |
run()
Starts the task in seperate thread. |
void |
setByFeedURL(java.util.Comparator byFeedURL)
|
| Methods inherited from class org.bejug.javacareers.feeder.FeederTask |
constructFeeder, getAdminService, getFeederDaemonConfig, getJavaCareersConfig, getJobService, getRssFeedService, getSearchCriteriaFactory, getSearchCriteriaService, isRunning, setAdminService, setFeederDaemonConfig, setJavaCareersConfig, setJobService, setRssFeedService, setRunning, setSearchCriteriaFactory, setSearchCriteriaService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.apache.commons.logging.Log LOG
| Constructor Detail |
public AggregatorFeederTask()
| Method Detail |
public void init()
/applicationContext-Feeder.xmlpublic void run()
public java.util.ArrayList processFeeds()
public void addListsToDataBase(java.util.ArrayList lists)
lists - List of JobLists
public void mergeAndUpdateLists(java.util.List newList,
java.util.List oldList)
newList - resulting list from the merge.oldList - old list to update.public java.util.Comparator getByFeedURL()
public void setByFeedURL(java.util.Comparator byFeedURL)
byFeedURL - the comparator.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||