org.apache.servicemix.wsn.component
Class WSNLifeCycle
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.BaseLifeCycle
org.apache.servicemix.wsn.component.WSNLifeCycle
- All Implemented Interfaces:
- ComponentLifeCycle, MessageExchangeListener
- Direct Known Subclasses:
- WSNSpringComponent.LifeCycle
public class WSNLifeCycle
- extends BaseLifeCycle
| Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
channel, component, context, correlationId, currentState, executor, executorFactory, INITIALIZED, logger, mbeanName, poller, polling, processors, running, transactionManager, workManagerCreated |
| Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContext, getCurrentState, getEPRServiceName, getExecutor, 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 |
WSNLifeCycle
public WSNLifeCycle(BaseComponent component)
getExtensionMBean
protected Object getExtensionMBean()
throws Exception
- Overrides:
getExtensionMBean in class AsyncBaseLifeCycle
- Throws:
Exception
doInit
protected void doInit()
throws Exception
- Overrides:
doInit in class AsyncBaseLifeCycle
- Throws:
Exception
doShutDown
protected void doShutDown()
throws Exception
- Overrides:
doShutDown in class AsyncBaseLifeCycle
- Throws:
Exception
doStart
protected void doStart()
throws Exception
- Overrides:
doStart in class AsyncBaseLifeCycle
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop in class AsyncBaseLifeCycle
- Throws:
Exception
getConfiguration
public WSNConfiguration getConfiguration()
setConfiguration
public void setConfiguration(WSNConfiguration configuration)
getConnectionFactory
public ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
lookupConnectionFactory
protected ConnectionFactory lookupConnectionFactory()
throws NamingException
- Throws:
NamingException
getNotificationBroker
public JbiNotificationBroker getNotificationBroker()
getCreatePullPoint
public JmsCreatePullPoint getCreatePullPoint()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.