org.apache.geronimo.system.main
Class MainBridge
java.lang.Object
org.apache.geronimo.system.main.MainBridge
- All Implemented Interfaces:
- GBeanLifecycle, Main
public class MainBridge
- extends Object
- implements Main, GBeanLifecycle
- Version:
- $Rev:385659 $ $Date: 2009-11-24 15:28:41 -0500 (Tue, 24 Nov 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kernel
protected final Kernel kernel
bundle
protected final org.osgi.framework.Bundle bundle
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
MainBridge
public MainBridge(Kernel kernel,
org.osgi.framework.Bundle bundle)
execute
public int execute(Object opaque)
- Specified by:
execute in interface Main
loadPersistentConfigurations
protected void loadPersistentConfigurations()
throws Exception
- Throws:
Exception
getMain
protected Main getMain()
throws Exception
- Throws:
Exception
shutdownKernel
protected void shutdownKernel()
getGBeanInfo
public static GBeanInfo getGBeanInfo()
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.