org.musicontroller.core.jobs
Class PodcastUpdateJob

java.lang.Object
  extended by org.musicontroller.core.jobs.PodcastUpdateJob
All Implemented Interfaces:
java.lang.Runnable

public class PodcastUpdateJob
extends java.lang.Object
implements java.lang.Runnable

This class provides the functionality to import a Podcast-Playlist into the database. It does so asynchronously. It's done when it's done :-)

Since this Jon runs asynchronously, it cannot rely on the OpenSessionInView. Therefore transaction-handling is explicitly implemented in this class.

Author:
Varienaja

Constructor Summary
PodcastUpdateJob()
           
 
Method Summary
 void execute()
          Executes the updating of all Podcasts.
 void run()
           
 void setDao(Dao dao)
           
 void setPodcastURL(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PodcastUpdateJob

public PodcastUpdateJob()
Method Detail

setPodcastURL

public void setPodcastURL(java.lang.String url)

setDao

public void setDao(Dao dao)

run

public void run()
Specified by:
run in interface java.lang.Runnable

execute

public void execute()
Executes the updating of all Podcasts.



Copyright © 2010 A.J.V.. All Rights Reserved.