org.apache.geronimo.system.main
Class MainBridge

java.lang.Object
  extended by org.apache.geronimo.system.main.MainBridge
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.main.Main

public class MainBridge
extends Object
implements org.apache.geronimo.main.Main, org.apache.geronimo.gbean.GBeanLifecycle

Version:
$Rev:385659 $ $Date: 2009-11-25 04:28:41 +0800 (Wed, 25 Nov 2009) $

Field Summary
protected  org.osgi.framework.Bundle bundle
           
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
protected  org.apache.geronimo.kernel.Kernel kernel
           
 
Constructor Summary
MainBridge(org.apache.geronimo.kernel.Kernel kernel, org.osgi.framework.Bundle bundle)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 int execute(Object opaque)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
protected  org.apache.geronimo.kernel.util.Main getMain()
           
protected  void loadPersistentConfigurations()
           
protected  void shutdownKernel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kernel

protected final org.apache.geronimo.kernel.Kernel kernel

bundle

protected final org.osgi.framework.Bundle bundle

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

MainBridge

public MainBridge(org.apache.geronimo.kernel.Kernel kernel,
                  org.osgi.framework.Bundle bundle)
Method Detail

execute

public int execute(Object opaque)
Specified by:
execute in interface org.apache.geronimo.main.Main

loadPersistentConfigurations

protected void loadPersistentConfigurations()
                                     throws Exception
Throws:
Exception

getMain

protected org.apache.geronimo.kernel.util.Main getMain()
                                                throws Exception
Throws:
Exception

shutdownKernel

protected void shutdownKernel()

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception


Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.