org.apache.cocoon.components.cron
Class CocoonQuartzJobExecutor
java.lang.Object
org.apache.cocoon.components.cron.QuartzJobExecutor
org.apache.cocoon.components.cron.CocoonQuartzJobExecutor
- All Implemented Interfaces:
- org.quartz.Job
- public class CocoonQuartzJobExecutor
- extends QuartzJobExecutor
This component is resposible to launch a CronJob
s 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
Method Summary |
protected void |
release(org.quartz.JobDataMap data)
|
protected void |
setup(org.quartz.JobDataMap data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CocoonQuartzJobExecutor
public CocoonQuartzJobExecutor()
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.