|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.quartz.QuartzConnector
public class QuartzConnector
Creates a connection to a Quartz scheduler. This allows events to be scheduled at specific times, with repeated occurrences.
Field Summary | |
---|---|
static String |
DEFAULT_GROUP_NAME
|
static String |
PROPERTY_CRON_EXPRESSION
|
static String |
PROPERTY_JOB_CONFIG
|
static String |
PROPERTY_JOB_DATA
|
static String |
PROPERTY_JOB_DYNAMIC
|
static String |
PROPERTY_JOB_OBJECT
|
static String |
PROPERTY_JOB_REF
|
static String |
PROPERTY_PAYLOAD
|
static String |
PROPERTY_REPEAT_COUNT
|
static String |
PROPERTY_REPEAT_INTERVAL
|
static String |
PROPERTY_START_DELAY
|
static String |
QUARTZ
|
Fields inherited from interface org.mule.api.transport.Connector |
---|
INT_VALUE_NOT_SET |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
QuartzConnector(MuleContext context)
|
Method Summary | |
---|---|
protected void |
doConnect()
Template method where any connections should be made for the connector |
protected void |
doDisconnect()
Template method where any connected resources used by the connector should be disconnected |
protected void |
doDispose()
Template method to perform any work when destroying the connectoe |
protected void |
doInitialise()
|
protected void |
doStart()
Template method to perform any work when starting the connectoe |
protected void |
doStop()
Template method to perform any work when stopping the connectoe |
Properties |
getFactoryProperties()
|
String |
getProtocol()
|
org.quartz.Scheduler |
getQuartzScheduler()
|
void |
setFactoryProperties(Properties factoryProperties)
|
void |
setQuartzScheduler(org.quartz.Scheduler scheduler)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String QUARTZ
public static final String PROPERTY_CRON_EXPRESSION
public static final String PROPERTY_REPEAT_INTERVAL
public static final String PROPERTY_REPEAT_COUNT
public static final String PROPERTY_START_DELAY
public static final String PROPERTY_PAYLOAD
public static final String PROPERTY_JOB_CONFIG
public static final String PROPERTY_JOB_DATA
public static final String PROPERTY_JOB_REF
public static final String PROPERTY_JOB_OBJECT
public static final String PROPERTY_JOB_DYNAMIC
public static final String DEFAULT_GROUP_NAME
Constructor Detail |
---|
public QuartzConnector(MuleContext context)
Method Detail |
---|
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractConnector
InitialisationException
protected void doDispose()
AbstractConnector
doDispose
in class AbstractConnector
protected void doConnect() throws Exception
AbstractConnector
doConnect
in class AbstractConnector
Exception
protected void doDisconnect() throws Exception
AbstractConnector
doDisconnect
in class AbstractConnector
Exception
protected void doStart() throws MuleException
AbstractConnector
doStart
in class AbstractConnector
MuleException
- if the method failsprotected void doStop() throws MuleException
AbstractConnector
doStop
in class AbstractConnector
MuleException
- if the method failspublic String getProtocol()
public org.quartz.Scheduler getQuartzScheduler()
public void setQuartzScheduler(org.quartz.Scheduler scheduler)
public Properties getFactoryProperties()
public void setFactoryProperties(Properties factoryProperties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |