|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.AbstractTriggerBean
public abstract class AbstractTriggerBean
A utility bean to wrap sceduling a job with a scheduler.
| Constructor Summary | |
|---|---|
AbstractTriggerBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Set the scheduler |
void |
destroy()
Ensures that the job is unscheduled with the context is shut down. |
java.lang.String |
getBeanName()
Get the bean/trigger name. |
org.quartz.JobDetail |
getJobDetail()
Get the definition of the job to run. |
org.quartz.Scheduler |
getScheduler()
Get the scheduler with which the job and trigger are scheduled. |
abstract org.quartz.Trigger |
getTrigger()
Abstract method for implementations to build their trigger. |
void |
setBeanName(java.lang.String name)
Get the bean name as this trigger is created |
void |
setJobDetail(org.quartz.JobDetail jobDetail)
Set the definition of the job to run. |
void |
setScheduler(org.quartz.Scheduler scheduler)
Set the scheduler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTriggerBean()
| Method Detail |
|---|
public org.quartz.JobDetail getJobDetail()
getJobDetail in interface org.springframework.scheduling.quartz.JobDetailAwareTriggerpublic void setJobDetail(org.quartz.JobDetail jobDetail)
jobDetail - public org.quartz.Scheduler getScheduler()
public void setScheduler(org.quartz.Scheduler scheduler)
scheduler -
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
public void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exception
public abstract org.quartz.Trigger getTrigger()
throws java.lang.Exception
java.lang.Exceptionpublic void setBeanName(java.lang.String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic java.lang.String getBeanName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||