org.mycore.services.mbeans
Class MCRJMXBridge

java.lang.Object
  extended by org.mycore.services.mbeans.MCRJMXBridge
All Implemented Interfaces:
MCRShutdownHandler.Closeable

public class MCRJMXBridge
extends Object
implements MCRShutdownHandler.Closeable


Field Summary
(package private) static WeakReference<MCRJMXBridge> SINGLETON
           
 
Method Summary
 void close()
          cleanly closes this object that implements Closeable.
static void register(Object mbean, String type, String component)
           
static void unregister(String type, String component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

static final WeakReference<MCRJMXBridge> SINGLETON
Method Detail

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