org.mule.transport.quartz
Class QuartzConnector
java.lang.Object
org.mule.transport.AbstractConnector
org.mule.transport.quartz.QuartzConnector
- All Implemented Interfaces:
- EventListener, javax.resource.spi.work.WorkListener, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, NamedObject, Connectable, Connector
public class QuartzConnector
- extends AbstractConnector
Creates a connection to a Quartz scheduler. This allows events to be scheduled at
specific times, with repeated occurrences.
| Fields inherited from class org.mule.transport.AbstractConnector |
connected, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect |
| Methods inherited from class org.mule.transport.AbstractConnector |
clearDispatchers, clearRequesters, configureDispatcherPool, connect, createDispatcherMessageProcessor, createMuleMessageFactory, createReceiver, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOutboundExchangePatterns, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isResponseEnabled, isStarted, isStopped, isValidateConnections, lookupReceiver, registerListener, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, setConnected, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted |
QUARTZ
public static final String QUARTZ
- See Also:
- Constant Field Values
PROPERTY_CRON_EXPRESSION
public static final String PROPERTY_CRON_EXPRESSION
- See Also:
- Constant Field Values
PROPERTY_REPEAT_INTERVAL
public static final String PROPERTY_REPEAT_INTERVAL
- See Also:
- Constant Field Values
PROPERTY_REPEAT_COUNT
public static final String PROPERTY_REPEAT_COUNT
- See Also:
- Constant Field Values
PROPERTY_START_DELAY
public static final String PROPERTY_START_DELAY
- See Also:
- Constant Field Values
PROPERTY_PAYLOAD
public static final String PROPERTY_PAYLOAD
- See Also:
- Constant Field Values
PROPERTY_JOB_CONFIG
public static final String PROPERTY_JOB_CONFIG
- See Also:
- Constant Field Values
PROPERTY_JOB_DATA
public static final String PROPERTY_JOB_DATA
- See Also:
- Constant Field Values
PROPERTY_JOB_REF
public static final String PROPERTY_JOB_REF
- See Also:
- Constant Field Values
PROPERTY_JOB_OBJECT
public static final String PROPERTY_JOB_OBJECT
- See Also:
- Constant Field Values
DEFAULT_GROUP_NAME
public static final String DEFAULT_GROUP_NAME
- See Also:
- Constant Field Values
QuartzConnector
public QuartzConnector(MuleContext context)
doInitialise
protected void doInitialise()
throws InitialisationException
- Specified by:
doInitialise in class AbstractConnector
- Throws:
InitialisationException
doDispose
protected void doDispose()
- Description copied from class:
AbstractConnector
- Template method to perform any work when destroying the connectoe
- Specified by:
doDispose in class AbstractConnector
doConnect
protected void doConnect()
throws Exception
- Description copied from class:
AbstractConnector
- Template method where any connections should be made for the connector
- Specified by:
doConnect in class AbstractConnector
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Description copied from class:
AbstractConnector
- Template method where any connected resources used by the connector should be
disconnected
- Specified by:
doDisconnect in class AbstractConnector
- Throws:
Exception
doStart
protected void doStart()
throws MuleException
- Description copied from class:
AbstractConnector
- Template method to perform any work when starting the connectoe
- Specified by:
doStart in class AbstractConnector
- Throws:
MuleException - if the method fails
doStop
protected void doStop()
throws MuleException
- Description copied from class:
AbstractConnector
- Template method to perform any work when stopping the connectoe
- Specified by:
doStop in class AbstractConnector
- Throws:
MuleException - if the method fails
getProtocol
public String getProtocol()
- Returns:
- the primary protocol name for endpoints of this connector
getQuartzScheduler
public org.quartz.Scheduler getQuartzScheduler()
setQuartzScheduler
public void setQuartzScheduler(org.quartz.Scheduler scheduler)
getFactoryProperties
public Properties getFactoryProperties()
setFactoryProperties
public void setFactoryProperties(Properties factoryProperties)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.