public class ReportScheduler extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ReportScheduler class.
Modifier and Type | Field and Description |
---|---|
protected static String |
JOB_GROUP
Constant
JOB_GROUP="Reportd" |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
destroy()
destroy
|
ReportdConfigurationDao |
getConfigDao()
getConfigDao
|
org.quartz.spi.JobFactory |
getReportJobFactory()
getReportJobFactory
|
org.quartz.Scheduler |
getScheduler()
getScheduler
|
void |
rebuildReportSchedule()
rebuildReportSchedule
|
void |
setConfigDao(ReportdConfigurationDao configDao)
setConfigDao
|
void |
setReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)
setReportJobFactory
|
void |
setScheduler(org.quartz.Scheduler scheduler)
setScheduler
|
void |
start()
start
|
protected static final String JOB_GROUP
JOB_GROUP="Reportd"
public void afterPropertiesSet() throws Exception
afterPropertiesSet
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- if any.public void rebuildReportSchedule()
rebuildReportSchedule
public ReportdConfigurationDao getConfigDao()
getConfigDao
ReportdConfigurationDao
object.public void setConfigDao(ReportdConfigurationDao configDao)
setConfigDao
configDao
- a ReportdConfigurationDao
object.public org.quartz.Scheduler getScheduler()
getScheduler
Scheduler
object.public void setScheduler(org.quartz.Scheduler scheduler)
setScheduler
scheduler
- a Scheduler
object.public void setReportJobFactory(org.quartz.spi.JobFactory reportJobFactory)
setReportJobFactory
reportJobFactory
- a JobFactory
object.public org.quartz.spi.JobFactory getReportJobFactory()
getReportJobFactory
JobFactory
object.public void start() throws org.quartz.SchedulerException
start
org.quartz.SchedulerException
- if any.public void destroy() throws org.quartz.SchedulerException
destroy
destroy
in interface org.springframework.beans.factory.DisposableBean
org.quartz.SchedulerException
- if any.Copyright © 2021. All rights reserved.