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 void
listenForShutdown(RegistryShutdownHub hub)
void
register(java.lang.Object bean, java.lang.String name)
Registers the specific MBean with the server.void
register(java.lang.Object object, javax.management.ObjectName objectName)
Registers the specified MBean with the server.void
unregister(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: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(java.lang.Object object, javax.management.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(javax.management.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
-
-