org.apache.ode.bpel.engine.cron
Class CronScheduler
java.lang.Object
org.apache.ode.bpel.engine.cron.CronScheduler
public class CronScheduler
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CronScheduler
public CronScheduler()
setScheduledTaskExec
public void setScheduledTaskExec(java.util.concurrent.ExecutorService taskExec)
setContexts
public void setContexts(Contexts _contexts)
shutdown
public void shutdown()
cancelProcessCronJobs
public void cancelProcessCronJobs(javax.xml.namespace.QName pid,
boolean undeployed)
scheduleProcessCronJobs
public void scheduleProcessCronJobs(javax.xml.namespace.QName pid,
ProcessConf pconf)
scheduleSystemCronJobs
public void scheduleSystemCronJobs(java.util.List<ProcessConf.CronJob> systemCronJobs)
- In BPS we don't want to use refreshing functionality for system cron jobs.
This will schedule the system cron jobs at the start-up of the ODE server.
- Parameters:
systemCronJobs - System cron job list
refreshSystemCronJobs
public void refreshSystemCronJobs(SystemSchedulesConfig systemSchedulesConf)
schedule
public CronScheduler.TerminationListener schedule(CronExpression cronExpression,
java.lang.Runnable runnable,
Scheduler.JobDetails runnableDetails,
CronScheduler.TerminationListener terminationListener)
Copyright © 2015 WSO2. All Rights Reserved.