org.apache.servicemix.geronimo
Class ServiceMixGBean
java.lang.Object
org.apache.servicemix.geronimo.ServiceMixGBean
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, Container
public class ServiceMixGBean
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, Container
|
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
ServiceMixGBean
public ServiceMixGBean(String name,
String directory,
TransactionManager transactionManager,
org.apache.geronimo.kernel.Kernel kernel)
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
doStart
public void doStart()
throws Exception
- Starts the GBean. This informs the GBean that it is about to transition to the running state.
- Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception - if the target failed to start; this will cause a transition to the failed state
doStop
public void doStop()
throws Exception
- Stops the target. This informs the GBean that it is about to transition to the stopped state.
- Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state
doFail
public void doFail()
- Fails the GBean. This informs the GBean that it is about to transition to the failed state.
- Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle
register
public void register(Component component)
throws Exception
- Specified by:
register in interface Container
- Throws:
Exception
unregister
public void unregister(Component component)
throws Exception
- Specified by:
unregister in interface Container
- Throws:
Exception
register
public void register(ServiceAssembly assembly)
throws Exception
- Specified by:
register in interface Container
- Throws:
Exception
unregister
public void unregister(ServiceAssembly assembly)
throws Exception
- Specified by:
unregister in interface Container
- Throws:
Exception
Copyright © 2005-2007. All Rights Reserved.