public final class ManagementRegistrar extends Object
In case there is no JMX implementation available, calling methods of this class have no effect. JMX registrations may be synchronous or asynchronous using a work-queue and worker thread. The latter enables higher throughput by avoiding the registration of very short lived instances and by that fact the JMX registrations can work on uncontended thread synchronization.
| Modifier and Type | Method and Description |
|---|---|
static String |
makeValidName(String name)
Replace characters considered illegal in a management object's name.
|
static void |
register(String name,
Object obj)
Register the specified management object.
|
static void |
unregister(String name)
Unregister the management object with the specified name.
|
public static String makeValidName(String name)
name - the name to work on.public static void register(String name, Object obj)
name - the name of the object.obj - the management object.public static void unregister(String name)
name - the name of the object.Copyright © 2006-2016 Bitronix Software. All Rights Reserved.