Class MBeanSupportImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.jmx.MBeanSupportImpl
-
- All Implemented Interfaces:
MBeanSupport
public class MBeanSupportImpl extends Object implements MBeanSupport
-
-
Constructor Summary
Constructors Constructor Description MBeanSupportImpl(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
listenForShutdown(RegistryShutdownHub hub)
void
register(Object bean, String name)
Registers the specific MBean with the server.void
register(Object object, ObjectName objectName)
Registers the specified MBean with the server.void
unregister(ObjectName objectName)
Unregisters the specified MBean from the server.
-
-
-
Constructor Detail
-
MBeanSupportImpl
public MBeanSupportImpl(org.slf4j.Logger logger)
-
-
Method Detail
-
listenForShutdown
@PostInjection public void listenForShutdown(RegistryShutdownHub hub)
-
register
public void register(Object bean, String name)
Description copied from interface:MBeanSupport
Registers the specific MBean with the server.- Specified by:
register
in interfaceMBeanSupport
- Parameters:
bean
- the MBean instancename
- string name used to create anObjectName
-
register
public void register(Object object, ObjectName objectName)
Description copied from interface:MBeanSupport
Registers the specified MBean with the server.- Specified by:
register
in interfaceMBeanSupport
- Parameters:
object
- the MBean instanceobjectName
- the name for the MBean
-
unregister
public void unregister(ObjectName objectName)
Description copied from interface:MBeanSupport
Unregisters the specified MBean from the server.- Specified by:
unregister
in interfaceMBeanSupport
- Parameters:
objectName
- the name for the MBean
-
-