org.apache.servicemix.common
Class SyncLifeCycleWrapper
java.lang.Object
org.apache.servicemix.common.SyncLifeCycleWrapper
- All Implemented Interfaces:
- javax.jbi.component.ComponentLifeCycle, org.apache.servicemix.jbi.listener.MessageExchangeListener
public class SyncLifeCycleWrapper
- extends java.lang.Object
- implements javax.jbi.component.ComponentLifeCycle, org.apache.servicemix.MessageExchangeListener
Wrap an AsyncBaseLifeCycle into a lifecycle implementing MessageExchangeListener.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncLifeCycleWrapper
public SyncLifeCycleWrapper(AsyncBaseLifeCycle lifeCycle)
getExtensionMBeanName
public javax.management.ObjectName getExtensionMBeanName()
- Specified by:
getExtensionMBeanName in interface javax.jbi.component.ComponentLifeCycle
init
public void init(javax.jbi.component.ComponentContext componentContext)
throws javax.jbi.JBIException
- Specified by:
init in interface javax.jbi.component.ComponentLifeCycle
- Throws:
javax.jbi.JBIException
shutDown
public void shutDown()
throws javax.jbi.JBIException
- Specified by:
shutDown in interface javax.jbi.component.ComponentLifeCycle
- Throws:
javax.jbi.JBIException
start
public void start()
throws javax.jbi.JBIException
- Specified by:
start in interface javax.jbi.component.ComponentLifeCycle
- Throws:
javax.jbi.JBIException
stop
public void stop()
throws javax.jbi.JBIException
- Specified by:
stop in interface javax.jbi.component.ComponentLifeCycle
- Throws:
javax.jbi.JBIException
onMessageExchange
public void onMessageExchange(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Specified by:
onMessageExchange in interface org.apache.servicemix.jbi.listener.MessageExchangeListener
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2012 FuseSource. All Rights Reserved.