|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.gov.frameworkdemoiselle.internal.implementation.MBeanHelper
public class MBeanHelper
Class with common tools for registering MBeans into an Managed server
| Constructor Summary | |
|---|---|
MBeanHelper()
|
|
| Method Summary | |
|---|---|
static MBeanServer |
getMBeanServer()
Return the MBean Server instance. |
static ObjectInstance |
register(Object mbean,
String name)
Register a given managed bean (MBean) with the specified name. |
static void |
unregister(ObjectName objectName)
Remove the registration of a mbean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBeanHelper()
| Method Detail |
|---|
public static final MBeanServer getMBeanServer()
public static ObjectInstance register(Object mbean,
String name)
mbean - the managed bean to registername - the name under which to register the bean
public static void unregister(ObjectName objectName)
objectName - the name of the bean to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||