public class MXBeanNotificationListenersCleanUp extends Object implements ClassLoaderPreMortemCleanUp
NotificationListeners/NotificationFilters/handbacks loaded by the
protected class loader| Constructor and Description |
|---|
MXBeanNotificationListenersCleanUp() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(ClassLoaderLeakPreventor preventor)
Perform cleanup actions needed to make provided
ClassLoaderLeakPreventor.classLoader
ready for garbage collection. |
protected void |
unregisterNotificationListeners(ClassLoaderLeakPreventor preventor,
NotificationBroadcasterSupport mBean,
Class<?> listenerWrapperClass)
Unregister
NotificationListeners from subclass of NotificationBroadcasterSupport, if listener,
filter or handback is loaded by the protected ClassLoader. |
public void cleanUp(ClassLoaderLeakPreventor preventor)
ClassLoaderPreMortemCleanUpClassLoaderLeakPreventor.classLoader
ready for garbage collection.cleanUp in interface ClassLoaderPreMortemCleanUpprotected void unregisterNotificationListeners(ClassLoaderLeakPreventor preventor, NotificationBroadcasterSupport mBean, Class<?> listenerWrapperClass)
NotificationListeners from subclass of NotificationBroadcasterSupport, if listener,
filter or handback is loaded by the protected ClassLoader.Copyright © 2019. All rights reserved.