public interface MBeanSupport
Modifier and Type | Method and Description |
---|---|
void |
register(java.lang.Object bean,
javax.management.ObjectName objectName)
Registers the specified MBean with the server.
|
void |
register(java.lang.Object bean,
java.lang.String name)
Registers the specific MBean with the server.
|
void |
unregister(javax.management.ObjectName objectName)
Unregisters the specified MBean from the server.
|
void register(java.lang.Object bean, javax.management.ObjectName objectName)
bean
- the MBean instanceobjectName
- the name for the MBeanvoid register(java.lang.Object bean, java.lang.String name)
bean
- the MBean instancename
- string name used to create an ObjectName
void unregister(javax.management.ObjectName objectName)
objectName
- the name for the MBean${project.version} - Copyright © 2003-2015 The Apache Software Foundation.