org.apache.geronimo.system.jmx
Class MBeanServerKernelBridge

java.lang.Object
  extended by org.apache.geronimo.system.jmx.MBeanServerKernelBridge
All Implemented Interfaces:
GBeanLifecycle

public class MBeanServerKernelBridge
extends Object
implements GBeanLifecycle


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
MBeanServerKernelBridge(Kernel kernel, MBeanServer mbeanServer)
           
MBeanServerKernelBridge(Kernel kernel, MBeanServerReference mbeanServerReference)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
static GBeanInfo getGBeanInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

MBeanServerKernelBridge

public MBeanServerKernelBridge(Kernel kernel,
                               MBeanServerReference mbeanServerReference)

MBeanServerKernelBridge

public MBeanServerKernelBridge(Kernel kernel,
                               MBeanServer mbeanServer)
Method Detail

doStart

public void doStart()
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle

doStop

public void doStop()
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.