org.apache.servicemix.quartz
Class QuartzComponent
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.BaseLifeCycle
org.apache.servicemix.common.DefaultComponent
org.apache.servicemix.quartz.QuartzComponent
- All Implemented Interfaces:
- Component, ComponentLifeCycle, ServiceMixComponent, MessageExchangeListener
public class QuartzComponent
- extends DefaultComponent
| Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
channel, component, context, correlationId, currentState, executor, executorFactory, INITIALIZED, mbeanName, poller, polling, processors, running, transactionManager, workManagerCreated |
| Methods inherited from class org.apache.servicemix.common.DefaultComponent |
addEndpoint, asList, createRegistry, createServiceUnitManager, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, getServiceDescription, getServiceUnit, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, removeEndpoint, resolveEndpointReference, validateEndpoint |
| Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContext, getCurrentState, getExecutor, getExtensionMBean, getExtensionMBeanName, getResolvedEPR, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, pollDeliveryChannel, prepareConsumerExchange, processExchange, processExchangeInTx, sendConsumerExchange, sendConsumerExchange, setComponent, setCurrentState, shutDown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuartzComponent
public QuartzComponent()
getFactory
public org.quartz.SchedulerFactory getFactory()
- Returns:
- the factory
setFactory
public void setFactory(org.quartz.SchedulerFactory factory)
- Parameters:
factory - the factory to set
getEndpoints
public QuartzEndpoint[] getEndpoints()
- Returns:
- the endpoints
setEndpoints
public void setEndpoints(QuartzEndpoint[] endpoints)
- Parameters:
endpoints - the endpoints to set
getScheduler
public org.quartz.Scheduler getScheduler()
- Returns:
- the scheduler
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
- Parameters:
scheduler - the scheduler to set
getConfiguredEndpoints
protected List getConfiguredEndpoints()
- Specified by:
getConfiguredEndpoints in class DefaultComponent
getEndpointClasses
protected Class[] getEndpointClasses()
- Specified by:
getEndpointClasses in class DefaultComponent
doInit
public void doInit()
throws Exception
- Overrides:
doInit in class DefaultComponent
- Throws:
Exception
doStart
public void doStart()
throws Exception
- Overrides:
doStart in class DefaultComponent
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Overrides:
doStop in class DefaultComponent
- Throws:
Exception
doShutDown
public void doShutDown()
throws Exception
- Overrides:
doShutDown in class DefaultComponent
- Throws:
Exception
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.