public class MBeanSupportImpl extends Object implements MBeanSupport
| Constructor and Description |
|---|
MBeanSupportImpl(org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
listenForShutdown(RegistryShutdownHub hub) |
void |
register(Object object,
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.
|
public MBeanSupportImpl(org.slf4j.Logger logger)
@PostInjection public void listenForShutdown(RegistryShutdownHub hub)
public void register(Object bean, String name)
MBeanSupportregister in interface MBeanSupportbean - the MBean instancename - string name used to create an ObjectNamepublic void register(Object object, ObjectName objectName)
MBeanSupportregister in interface MBeanSupportobject - the MBean instanceobjectName - the name for the MBeanpublic void unregister(ObjectName objectName)
MBeanSupportunregister in interface MBeanSupportobjectName - the name for the MBean5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.