public interface MBeanSupport
| Modifier and Type | Method and Description |
|---|---|
void |
register(Object bean,
ObjectName objectName)
Registers the specified MBean with the server.
|
void |
register(Object bean,
String name)
Registers the specific MBean with the server.
|
void |
unregister(ObjectName objectName)
Unregisters the specified MBean from the server.
|
void register(Object bean, ObjectName objectName)
bean - the MBean instanceobjectName - the name for the MBeanvoid register(Object bean, String name)
bean - the MBean instancename - string name used to create an ObjectNamevoid unregister(ObjectName objectName)
objectName - the name for the MBean5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.