org.apache.servicemix.common
Class BaseLifeCycle

java.lang.Object
  extended by org.apache.servicemix.common.AsyncBaseLifeCycle
      extended by org.apache.servicemix.common.BaseLifeCycle
All Implemented Interfaces:
javax.jbi.component.ComponentLifeCycle, org.apache.servicemix.MessageExchangeListener
Direct Known Subclasses:
DefaultComponent

public class BaseLifeCycle
extends AsyncBaseLifeCycle
implements org.apache.servicemix.MessageExchangeListener

Base class for life cycle management of components. This lifecycle uses Push delivery by implementing MessageExchangeListerner interface

Since:
3.0
Version:
$Revision: 452064 $
Author:
Guillaume Nodet

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
protected BaseLifeCycle()
           
  BaseLifeCycle(ServiceMixComponent component)
           
 
Method Summary
 void onMessageExchange(javax.jbi.messaging.MessageExchange exchange)
           
 
Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
createExecutorFactory, createExtensionMBeanName, doInit, doShutDown, doStart, doStop, exceptionShouldRollbackTx, findExecutorFactory, getContext, getCurrentState, getEPRServiceName, 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
 

Constructor Detail

BaseLifeCycle

protected BaseLifeCycle()

BaseLifeCycle

public BaseLifeCycle(ServiceMixComponent component)
Method Detail

onMessageExchange

public void onMessageExchange(javax.jbi.messaging.MessageExchange exchange)
Specified by:
onMessageExchange in interface org.apache.servicemix.MessageExchangeListener


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.