Class ReportScheduler

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class ReportScheduler
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

    ReportScheduler class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • JOB_GROUP

        protected static final java.lang.String JOB_GROUP
        Constant JOB_GROUP="Reportd"
        See Also:
        Constant Field Values
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception - if any.
      • rebuildReportSchedule

        public void rebuildReportSchedule()

        rebuildReportSchedule

      • getScheduler

        public org.quartz.Scheduler getScheduler()

        getScheduler

        Returns:
        a Scheduler object.
      • setScheduler

        public void setScheduler​(org.quartz.Scheduler scheduler)

        setScheduler

        Parameters:
        scheduler - a Scheduler object.
      • setReportJobFactory

        public void setReportJobFactory​(org.quartz.spi.JobFactory reportJobFactory)

        setReportJobFactory

        Parameters:
        reportJobFactory - a JobFactory object.
      • getReportJobFactory

        public org.quartz.spi.JobFactory getReportJobFactory()

        getReportJobFactory

        Returns:
        a JobFactory object.
      • start

        public void start()
                   throws org.quartz.SchedulerException

        start

        Throws:
        org.quartz.SchedulerException - if any.
      • destroy

        public void destroy()
                     throws org.quartz.SchedulerException

        destroy

        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        org.quartz.SchedulerException - if any.