pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.bundle
Class AbstractJoblet

java.lang.Object
  extended by org.torweg.pulse.bundle.AbstractJoblet
All Implemented Interfaces:
org.quartz.Job
Direct Known Subclasses:
AbstractConfigurableJoblet, SearchSiteJoblet, VFSDeferredDeleteJoblet

public abstract class AbstractJoblet
extends java.lang.Object
implements org.quartz.Job

Version:
$Revision: 1383 $
Author:
Christian Schatt

Constructor Summary
AbstractJoblet()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext jec)
          The method called by the quartz Scheduler to execute the Joblet.
protected abstract  void run(Bundle b)
          The method where the action of the Joblet takes place, actually.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJoblet

public AbstractJoblet()
Method Detail

execute

public final void execute(org.quartz.JobExecutionContext jec)
                   throws org.quartz.JobExecutionException
The method called by the quartz Scheduler to execute the Joblet.

Specified by:
execute in interface org.quartz.Job
Parameters:
jec - the JobExecutionContext is created for every execution of the Joblet and contains the Bundle the Joblet is executed for
Throws:
org.quartz.JobExecutionException - if an Exception is thrown while executing the Joblet
See Also:
Job.execute(org.quartz.JobExecutionContext)

run

protected abstract void run(Bundle b)
The method where the action of the Joblet takes place, actually.

Parameters:
b - the Bundle the Joblet is executed for or null