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 ObjectName
void unregister(ObjectName objectName)
objectName
- the name for the MBean${project.version} - Copyright © 2003-2015 The Apache Software Foundation.