Class JobSchedulerService


  • public final class JobSchedulerService
    extends Object
    JobSchedulerService
    • Method Detail

      • getInstance

        public static JobSchedulerService getInstance()
        Gets the unique instance of the service
        Returns:
        The service's instance
      • scheduleJob

        public Date scheduleJob​(org.quartz.JobDetail job,
                                org.quartz.CronTrigger trigger)
        Schedule a job according cron information
        Parameters:
        job - The Job to schedule
        trigger - The Cron trigger
        Returns:
        Date
      • shutdown

        public static void shutdown()
        Shutdown the service (Called by the core while the webapp is destroyed)