org.mule.modules.schedulers.cron
Class CronSchedulerFactory

java.lang.Object
  extended by org.mule.api.schedule.SchedulerFactory<PollingReceiverWorker>
      extended by org.mule.modules.schedulers.cron.CronSchedulerFactory
All Implemented Interfaces:
MuleContextAware

public class CronSchedulerFactory
extends SchedulerFactory<PollingReceiverWorker>

Factory of the Cron Scheduler for poll

Since:
3.5.0

Field Summary
 
Fields inherited from class org.mule.api.schedule.SchedulerFactory
context, logger
 
Constructor Summary
CronSchedulerFactory()
           
 
Method Summary
protected  Scheduler doCreate(String name, PollingReceiverWorker job)
           Template method to delegate the creation of the Scheduler.
 void setExpression(String expression)
           
 
Methods inherited from class org.mule.api.schedule.SchedulerFactory
create, setMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CronSchedulerFactory

public CronSchedulerFactory()
Method Detail

doCreate

protected Scheduler doCreate(String name,
                             PollingReceiverWorker job)
Description copied from class: 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.

Specified by:
doCreate in class SchedulerFactory<PollingReceiverWorker>
job - The Job the Scheduler is going to execute
Returns:
The Scheduler instance

setExpression

public void setExpression(String expression)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.