public class CronScheduler extends PollScheduler<PollingReceiverWorker> implements MuleContextAware
Cron Scheduler implemented with Quartz.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
static String |
POLL_CRON_SCHEDULER_JOB |
static String |
THREAD_POLL_CLASS |
static String |
THREAD_POLL_CLASS_PROPERTY |
static String |
THREAD_POOL_COUNT_PROPERTY |
job, namePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
CronScheduler(String name,
PollingReceiverWorker job,
String cronExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getCronExpression() |
void |
initialise() |
void |
schedule() |
void |
setMuleContext(MuleContext context) |
void |
start() |
void |
stop() |
getName, setNameprotected transient org.apache.commons.logging.Log logger
public static final String THREAD_POLL_CLASS_PROPERTY
public static final String THREAD_POLL_CLASS
public static final String THREAD_POOL_COUNT_PROPERTY
public static final String POLL_CRON_SCHEDULER_JOB
public CronScheduler(String name, PollingReceiverWorker job, String cronExpression)
public void schedule()
throws Exception
public void dispose()
dispose in interface Disposablepublic void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void start()
throws MuleException
start in interface StartableMuleExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic String getCronExpression()
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.