com.extrememessaging.ResponseMaster.monitor
Class MBeanHelper

java.lang.Object
  extended by com.extrememessaging.ResponseMaster.monitor.MBeanHelper

public class MBeanHelper
extends java.lang.Object

Helper class for working with MBeans/JMX


Method Summary
static javax.management.AttributeList getAttributes(java.lang.String[] attributeNames, javax.management.DynamicMBean mbean)
          Enables the to get the values of several attributes of a Dynamic MBean.
static javax.management.ObjectName getName(javax.management.DynamicMBean mbean, java.util.Hashtable<java.lang.String,?> properties)
           
static void RegisterMBean(javax.management.DynamicMBean mbean, javax.management.ObjectName name)
           
static javax.management.AttributeList setAttributes(javax.management.AttributeList attributes, javax.management.DynamicMBean mbean)
          Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.
static void Shutdown(javax.management.DynamicMBean mbean)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Shutdown

public static void Shutdown(javax.management.DynamicMBean mbean)

getAttributes

public static javax.management.AttributeList getAttributes(java.lang.String[] attributeNames,
                                                           javax.management.DynamicMBean mbean)
Enables the to get the values of several attributes of a Dynamic MBean.


setAttributes

public static javax.management.AttributeList setAttributes(javax.management.AttributeList attributes,
                                                           javax.management.DynamicMBean mbean)
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.


RegisterMBean

public static void RegisterMBean(javax.management.DynamicMBean mbean,
                                 javax.management.ObjectName name)
                          throws ResponseMasterException
Throws:
ResponseMasterException

getName

public static javax.management.ObjectName getName(javax.management.DynamicMBean mbean,
                                                  java.util.Hashtable<java.lang.String,?> properties)
                                           throws ResponseMasterException
Throws:
ResponseMasterException