public class CronSchedulerFactory extends SchedulerFactory<PollingReceiverWorker>
Factory of the Cron Scheduler for poll
context
Constructor and Description |
---|
CronSchedulerFactory() |
Modifier and Type | Method and Description |
---|---|
protected Scheduler |
doCreate(String name,
PollingReceiverWorker job)
Template method to delegate the creation of the
Scheduler . |
protected TimeZone |
resolveTimeZone(String name) |
void |
setExpression(String expression) |
void |
setTimeZone(String timeZone) |
create, setMuleContext
protected Scheduler doCreate(String name, PollingReceiverWorker job)
SchedulerFactory
Template method to delegate the creation of the Scheduler
. This method is thought to create an instance
of a Scheduler
. It should not Start/Stop it.
doCreate
in class SchedulerFactory<PollingReceiverWorker>
job
- The Job the Scheduler
is going to executeScheduler
instancepublic void setExpression(String expression)
public void setTimeZone(String timeZone)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.