|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.util.JmxUtils
public class JmxUtils
Class providing utility methods for JMX.
| Method Summary | ||
|---|---|---|
static
|
getObjectName(Class<T> clazz)
Returns an ObjectName for the specified object in standard
format, using the package as the domain. |
|
static void |
register(MBeanServer mbs,
Object obj)
Registers the specified object as an MBean with the specified server using standard conventions for the bean name. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> ObjectName getObjectName(Class<T> clazz)
ObjectName for the specified object in standard
format, using the package as the domain.
T - The type of class.clazz - The Class to create an ObjectName for.
ObjectName.
public static void register(MBeanServer mbs,
Object obj)
mbs - The MBeanServer to register with.obj - The Object to register as an MBean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||