org.mycore.services.mbeans
Class MCRJMXBridge
java.lang.Object
org.mycore.services.mbeans.MCRJMXBridge
- All Implemented Interfaces:
- MCRShutdownHandler.Closeable
public class MCRJMXBridge
- extends Object
- implements MCRShutdownHandler.Closeable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
static final WeakReference<MCRJMXBridge> SINGLETON
register
public static void register(Object mbean,
String type,
String component)
unregister
public static void unregister(String type,
String component)
close
public void close()
- Description copied from interface:
MCRShutdownHandler.Closeable
- cleanly closes this object that implements
Closeable.
You can provide some functionality to close open files and sockets or
so.
- Specified by:
close in interface MCRShutdownHandler.Closeable