org.apache.geronimo.openjpa
Class ConfigurationMonitorGBean

java.lang.Object
  extended by org.apache.geronimo.openjpa.ConfigurationMonitorGBean
All Implemented Interfaces:
GBeanLifecycle

public class ConfigurationMonitorGBean
extends Object
implements GBeanLifecycle

Monitor configuration lifecycle events. Whenever a configuration is stopped, inform OpenJPA that the ClassLoader is no longer needed.


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ConfigurationMonitorGBean(Kernel kernel)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          This GBean is being started.
 void doStop()
          This GBean is being stopped.
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

ConfigurationMonitorGBean

public ConfigurationMonitorGBean(Kernel kernel)
Method Detail

doStart

public void doStart()
This GBean is being started. Register our listener with the Lifecycle monitor.

Specified by:
doStart in interface GBeanLifecycle

doStop

public void doStop()
This GBean is being stopped. Remove the LifecycleListener.

Specified by:
doStop 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

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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