org.mule.transport.quartz.jobs
Class EventGeneratorJob

java.lang.Object
  extended by org.mule.transport.quartz.jobs.AbstractJob
      extended by org.mule.transport.quartz.jobs.EventGeneratorJob
All Implemented Interfaces:
org.quartz.Job
Direct Known Subclasses:
StatefulEventGeneratorJob

public class EventGeneratorJob
extends AbstractJob

Will generate a new event based o the scheduled time. The payload of the event is currently a static object or instance of NullPayload if no payload has been set. We may want to extend this but allowing the payload to be generated using a factory.


Field Summary
protected  Log logger
          The logger used for this class
 
Fields inherited from class org.mule.transport.quartz.jobs.AbstractJob
muleContext
 
Constructor Summary
EventGeneratorJob()
           
 
Method Summary
protected  void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
          Execute the job.
 
Methods inherited from class org.mule.transport.quartz.jobs.AbstractJob
execute, getMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
The logger used for this class

Constructor Detail

EventGeneratorJob

public EventGeneratorJob()
Method Detail

doExecute

protected void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
                  throws org.quartz.JobExecutionException
Description copied from class: AbstractJob
Execute the job.

Specified by:
doExecute in class AbstractJob
Throws:
org.quartz.JobExecutionException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.