org.apache.geronimo.openjpa
Class ConfigurationMonitorGBean
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
ConfigurationMonitorGBean
public ConfigurationMonitorGBean(Kernel kernel)
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.