fr.paris.lutece.portal.service.scheduler
Class JobSchedulerService

java.lang.Object
  extended by fr.paris.lutece.portal.service.scheduler.JobSchedulerService

public final class JobSchedulerService
extends java.lang.Object

JobSchedulerService


Method Summary
static JobSchedulerService getInstance()
          Gets the unique instance of the service
 java.util.Date scheduleJob(org.quartz.JobDetail job, org.quartz.CronTrigger trigger)
          Schedule a job according cron information
 void shutdown()
          Shutdown the service (Called by the core while the webapp is destroyed)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JobSchedulerService getInstance()
Gets the unique instance of the service

Returns:
The service's instance

scheduleJob

public java.util.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 void shutdown()
Shutdown the service (Called by the core while the webapp is destroyed)



Copyright © 2009 Mairie de Paris. All Rights Reserved.