org.apache.cocoon.components.cron
Class CocoonQuartzJobExecutor

java.lang.Object
  extended byorg.apache.cocoon.components.cron.QuartzJobExecutor
      extended byorg.apache.cocoon.components.cron.CocoonQuartzJobExecutor
All Implemented Interfaces:
org.quartz.Job

public class CocoonQuartzJobExecutor
extends QuartzJobExecutor

This component is resposible to launch a CronJobs in a Quartz Scheduler.

Jobs started with this executor have a BackgroundEnvironment already set up, meaning they can use the SourceResolver to access "cocoon:" pipelines.

Also, these pipelines will be able to access the job's parameters and objectmap defined by the various JobScheduler.fireJob(String, Parameters, Map) methods using the "cron-parameters" and "cron-objectmap" request attributes, respectively.

Since:
2.1.1
Version:
CVS $Id: CocoonQuartzJobExecutor.java 291647 2005-09-26 16:05:06Z sylvain $
Author:
Giacomo Pati

Field Summary
 
Fields inherited from class org.apache.cocoon.components.cron.QuartzJobExecutor
m_context, m_logger, m_manager
 
Constructor Summary
CocoonQuartzJobExecutor()
           
 
Method Summary
protected  void release(org.quartz.JobDataMap data)
           
protected  void setup(org.quartz.JobDataMap data)
           
 
Methods inherited from class org.apache.cocoon.components.cron.QuartzJobExecutor
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CocoonQuartzJobExecutor

public CocoonQuartzJobExecutor()
Method Detail

setup

protected void setup(org.quartz.JobDataMap data)
              throws org.quartz.JobExecutionException
Overrides:
setup in class QuartzJobExecutor
Throws:
org.quartz.JobExecutionException

release

protected void release(org.quartz.JobDataMap data)
Overrides:
release in class QuartzJobExecutor


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.