org.mule.transport.quartz.jobs
Class CustomJob

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

public class CustomJob
extends AbstractJob

Extracts the Job object to invoke from the context. The Job itself can be scheduled by dispatching an event over a quartz endpoint. The job can either be set as a property on the event (this property can be a container reference or the actual job object) or the payload of the event can be the Job (in which case when the job is fired it will have a NullPayload)

See Also:
NullPayload

Field Summary
 
Fields inherited from class org.mule.transport.quartz.jobs.AbstractJob
muleContext
 
Constructor Summary
CustomJob()
           
 
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
 

Constructor Detail

CustomJob

public CustomJob()
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-2014 MuleSoft, Inc.. All Rights Reserved.