org.apache.servicemix.wsn.component
Class WSNLifeCycle

java.lang.Object
  extended by org.apache.servicemix.common.AsyncBaseLifeCycle
      extended by org.apache.servicemix.common.BaseLifeCycle
          extended by org.apache.servicemix.wsn.component.WSNLifeCycle
All Implemented Interfaces:
ComponentLifeCycle, MessageExchangeListener
Direct Known Subclasses:
WSNSpringComponent.LifeCycle

public class WSNLifeCycle
extends BaseLifeCycle


Nested Class Summary
 class WSNLifeCycle.WSNEndpointManager
           
 
Field Summary
 
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
 
Constructor Summary
WSNLifeCycle(BaseComponent component)
           
 
Method Summary
protected  void doInit()
           
protected  void doShutDown()
           
protected  void doStart()
           
protected  void doStop()
           
 WSNConfiguration getConfiguration()
           
 ConnectionFactory getConnectionFactory()
           
 JmsCreatePullPoint getCreatePullPoint()
           
protected  Object getExtensionMBean()
           
 JbiNotificationBroker getNotificationBroker()
           
protected  ConnectionFactory lookupConnectionFactory()
           
 void setConfiguration(WSNConfiguration configuration)
           
 void setConnectionFactory(ConnectionFactory connectionFactory)
           
 
Methods inherited from class org.apache.servicemix.common.BaseLifeCycle
onMessageExchange
 
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
 

Constructor Detail

WSNLifeCycle

public WSNLifeCycle(BaseComponent component)
Method Detail

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.