org.mule.modules.schedulers.cron
Class CronScheduler
java.lang.Object
org.mule.transport.polling.schedule.PollScheduler<PollingReceiverWorker>
org.mule.modules.schedulers.cron.CronScheduler
- All Implemented Interfaces:
- MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NameableObject, NamedObject, Scheduler
public class CronScheduler
- extends PollScheduler<PollingReceiverWorker>
- implements MuleContextAware
Cron Scheduler implemented with Quartz.
- Since:
- 3.5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient org.apache.commons.logging.Log logger
THREAD_POLL_CLASS_PROPERTY
public static final String THREAD_POLL_CLASS_PROPERTY
- See Also:
- Constant Field Values
THREAD_POLL_CLASS
public static final String THREAD_POLL_CLASS
- See Also:
- Constant Field Values
THREAD_POOL_COUNT_PROPERTY
public static final String THREAD_POOL_COUNT_PROPERTY
- See Also:
- Constant Field Values
POLL_CRON_SCHEDULER_JOB
public static final String POLL_CRON_SCHEDULER_JOB
- See Also:
- Constant Field Values
CronScheduler
public CronScheduler(String name,
PollingReceiverWorker job,
String cronExpression)
schedule
public void schedule()
throws Exception
- Specified by:
schedule in interface Scheduler
- Throws:
Exception
dispose
public void dispose()
- Specified by:
dispose in interface Disposable
initialise
public void initialise()
throws InitialisationException
- Specified by:
initialise in interface Initialisable
- Throws:
InitialisationException
start
public void start()
throws MuleException
- Specified by:
start in interface Startable
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Specified by:
stop in interface Stoppable
- Throws:
MuleException
getCronExpression
public String getCronExpression()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext in interface MuleContextAware
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.