org.apache.geronimo.system.main
Class MainBridge

java.lang.Object
  extended by 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) $

Field Summary
protected  org.osgi.framework.Bundle bundle
           
static GBeanInfo GBEAN_INFO
           
protected  Kernel kernel
           
 
Constructor Summary
MainBridge(Kernel kernel, org.osgi.framework.Bundle bundle)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 int execute(java.lang.Object opaque)
           
static GBeanInfo getGBeanInfo()
           
protected  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 Kernel kernel

bundle

protected final org.osgi.framework.Bundle bundle

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

MainBridge

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

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.