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