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)
MBeanSupport
register
in interface MBeanSupport
bean
- the MBean instancename
- string name used to create an ObjectName
public void register(java.lang.Object object, javax.management.ObjectName objectName)
MBeanSupport
register
in interface MBeanSupport
object
- the MBean instanceobjectName
- the name for the MBeanpublic void unregister(javax.management.ObjectName objectName)
MBeanSupport
unregister
in interface MBeanSupport
objectName
- the name for the MBean${project.version} - Copyright © 2003-2015 The Apache Software Foundation.