|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.JobDetail org.springframework.scheduling.quartz.JobDetailBean
Convenience subclass of Quartz' JobDetail class that eases bean-style usage.
JobDetail itself is already a JavaBean but lacks sensible defaults. This class uses the Spring bean name as job name, and the Quartz default group ("DEFAULT") as job group if not specified.
JobDetail.setName(java.lang.String)
,
JobDetail.setGroup(java.lang.String)
,
BeanNameAware
,
Scheduler.DEFAULT_GROUP
,
Serialized FormConstructor Summary | |
JobDetailBean()
|
Method Summary | |
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware). |
void |
setBeanName(java.lang.String beanName)
Set the name of the bean in the bean factory that created this bean. |
void |
setJobDataAsMap(java.util.Map jobDataAsMap)
|
Methods inherited from class org.quartz.JobDetail |
addJobListener, clone, getDescription, getFullName, getGroup, getJobClass, getJobDataMap, getJobListenerNames, 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 |
Constructor Detail |
public JobDetailBean()
Method Detail |
public void setJobDataAsMap(java.util.Map jobDataAsMap)
public void setBeanName(java.lang.String beanName)
BeanNameAware
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method.
setBeanName
in interface BeanNameAware
beanName
- the name of the bean in the factorypublic void afterPropertiesSet()
InitializingBean
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
afterPropertiesSet
in interface InitializingBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |