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