org.apache.turbine.modules
Class ScheduledJob

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.ScheduledJob

public abstract class ScheduledJob
extends Assembler

All Scheduled jobs should extend this. The class that extends ScheduledJobs should contain the code that you actually want to execute at a specific time. The name of this class is what you register in the JobEntry.

Version:
$Id: ScheduledJob.java 534527 2007-05-02 16:10:59Z tv $
Author:
Dave Bryson

Constructor Summary
ScheduledJob()
           
 
Method Summary
abstract  void run(JobEntry job)
          Run the Jobentry from the scheduler queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduledJob

public ScheduledJob()
Method Detail

run

public abstract void run(JobEntry job)
                  throws java.lang.Exception
Run the Jobentry from the scheduler queue.

Parameters:
job - The job to run.
Throws:
java.lang.Exception


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.