org.objectweb.easybeans.component.quartz
Class EasyBeansJobDetail

java.lang.Object
  extended by org.quartz.JobDetail
      extended by org.objectweb.easybeans.component.quartz.EasyBeansJobDetail
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EasyBeansJobDetail
extends org.quartz.JobDetail

This class is used to give more parameters to the Invoker Job. It extends the basic class and then add some info in the JobDataMap.

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
static java.lang.String DATA_KEY
          Key for the data that are stored in the Job Data Map.
private static long serialVersionUID
          Serial version UID for serializable classes.
 
Constructor Summary
EasyBeansJobDetail(java.lang.String name, java.lang.String group, EasyBeansJobDetailData jobDetailData)
          Create an EasyBeans Job Detail by specifying a given name, group and data.
 
Method Summary
 EasyBeansJobDetailData getJobDetailData()
          Gets the data for this Job Detail.
 
Methods inherited from class org.quartz.JobDetail
addJobListener, clone, getDescription, getFullName, getGroup, getJobClass, getJobDataMap, getJobListenerNames, getKey, getName, isDurable, isStateful, isVolatile, removeJobListener, requestsRecovery, setDescription, setDurability, setGroup, setJobClass, setJobDataMap, setName, setRequestsRecovery, setVolatility, toString, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID for serializable classes.

See Also:
Constant Field Values

DATA_KEY

public static final java.lang.String DATA_KEY
Key for the data that are stored in the Job Data Map.

See Also:
Constant Field Values
Constructor Detail

EasyBeansJobDetail

public EasyBeansJobDetail(java.lang.String name,
                          java.lang.String group,
                          EasyBeansJobDetailData jobDetailData)
Create an EasyBeans Job Detail by specifying a given name, group and data. The EasyBeansJob class will be used as Job.

Parameters:
name - the name of this job detail
group - the group of this job detail
jobDetailData - The data that are stored in the job detail. It allows to get the serializable info object that can be given by the user and to retrieve the right bean.
Method Detail

getJobDetailData

public EasyBeansJobDetailData getJobDetailData()
Gets the data for this Job Detail.

Returns:
the data for this job detail.