org.apache.ode.jbi
Class OdeLifeCycle
java.lang.Object
org.apache.ode.jbi.OdeLifeCycle
- All Implemented Interfaces:
- javax.jbi.component.ComponentLifeCycle
public class OdeLifeCycle
- extends java.lang.Object
- implements javax.jbi.component.ComponentLifeCycle
This class implements ComponentLifeCycle. The JBI framework will start this engine class automatically when JBI framework starts
up.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OdeLifeCycle
public OdeLifeCycle()
getExtensionMBeanName
public javax.management.ObjectName getExtensionMBeanName()
- Specified by:
getExtensionMBeanName
in interface javax.jbi.component.ComponentLifeCycle
init
public void init(javax.jbi.component.ComponentContext context)
throws javax.jbi.JBIException
- Specified by:
init
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
shutDown
public void shutDown()
throws javax.jbi.JBIException
- Shutdown the service engine. This performs cleanup before the BPE is terminated. Once this method has been called, init()
must be called before the transformation engine can be started again with a call to start().
- Specified by:
shutDown
in interface javax.jbi.component.ComponentLifeCycle
- Throws:
javax.jbi.JBIException
- if the transformation engine is unable to shut down.