org.apache.tapestry5.internal.jmx
Class MBeanSupportImpl

java.lang.Object
  extended by org.apache.tapestry5.internal.jmx.MBeanSupportImpl
All Implemented Interfaces:
java.util.EventListener, RegistryShutdownListener, MBeanSupport

public class MBeanSupportImpl
extends java.lang.Object
implements MBeanSupport, RegistryShutdownListener


Constructor Summary
MBeanSupportImpl(org.slf4j.Logger logger)
           
 
Method Summary
 void register(java.lang.Object object, javax.management.ObjectName objectName)
          Registers the specified MBean with the server.
 void registryDidShutdown()
           
 void unregister(javax.management.ObjectName objectName)
          Unregisters the specified MBean from the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanSupportImpl

public MBeanSupportImpl(org.slf4j.Logger logger)
Method Detail

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 interface MBeanSupport
Parameters:
object - the MBean instance
objectName - 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 interface MBeanSupport
Parameters:
objectName - the name for the MBean

registryDidShutdown

public void registryDidShutdown()
Specified by:
registryDidShutdown in interface RegistryShutdownListener


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.