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 java.lang.Object
- implements Main, GBeanLifecycle
- Version:
- $Rev:385659 $ $Date: 2009-11-25 04:28:41 +0800 (Wed, 25 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(java.lang.Object opaque)
- Specified by:
execute in interface Main
loadPersistentConfigurations
protected void loadPersistentConfigurations()
throws java.lang.Exception
- Throws:
java.lang.Exception
getMain
protected Main getMain()
throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
java.lang.Exception
doStop
public void doStop()
throws java.lang.Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
java.lang.Exception
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.