Class MBeanSupportImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.jmx.MBeanSupportImpl
-
- All Implemented Interfaces:
MBeanSupport
public class MBeanSupportImpl extends java.lang.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 voidlistenForShutdown(RegistryShutdownHub hub)voidregister(java.lang.Object bean, java.lang.String name)Registers the specific MBean with the server.voidregister(java.lang.Object object, javax.management.ObjectName objectName)Registers the specified MBean with the server.voidunregister(javax.management.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(java.lang.Object bean, java.lang.String name)
Description copied from interface:MBeanSupportRegisters the specific MBean with the server.- Specified by:
registerin interfaceMBeanSupport- Parameters:
bean- the MBean instancename- string name used to create anObjectName
-
register
public void register(java.lang.Object object, javax.management.ObjectName objectName)
Description copied from interface:MBeanSupportRegisters the specified MBean with the server.- Specified by:
registerin interfaceMBeanSupport- Parameters:
object- the MBean instanceobjectName- the name for the MBean
-
unregister
public void unregister(javax.management.ObjectName objectName)
Description copied from interface:MBeanSupportUnregisters the specified MBean from the server.- Specified by:
unregisterin interfaceMBeanSupport- Parameters:
objectName- the name for the MBean
-
-