org.apache.servicemix.components.util
Class PojoLifecycleAdaptor
java.lang.Object
org.apache.servicemix.components.util.PojoLifecycleAdaptor
- All Implemented Interfaces:
- javax.jbi.component.ComponentLifeCycle
public class PojoLifecycleAdaptor
- extends Object
- implements javax.jbi.component.ComponentLifeCycle
Adapts a POJO to a ComponentLifeCycle without performing any activation
- Version:
- $Revision: 564374 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoLifecycleAdaptor
public PojoLifecycleAdaptor(Object pojo,
QName service,
String endpoint)
getExtensionMBeanName
public ObjectName getExtensionMBeanName()
- Specified by:
getExtensionMBeanName in interface javax.jbi.component.ComponentLifeCycle
init
public void init(javax.jbi.component.ComponentContext ctx)
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
getPojo
public Object getPojo()
setExtensionMBeanName
public void setExtensionMBeanName(ObjectName extensionMBeanName)
getContext
public javax.jbi.component.ComponentContext getContext()
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.