etm.core.jmx
Class EtmMonitorMBean

java.lang.Object
  extended by etm.core.jmx.EtmMonitorMBean
All Implemented Interfaces:
javax.management.DynamicMBean

public class EtmMonitorMBean
extends java.lang.Object
implements javax.management.DynamicMBean

An MBean that provides access to an EtmMonitor instance.

Since:
1.2.0
Version:
$Revision: 232 $
Author:
void.fm

Field Summary
protected  javax.management.openmbean.TabularType tabularType
           
 
Constructor Summary
EtmMonitorMBean(EtmMonitor aEtmMonitor, java.lang.String aMeasurementDomain)
           
 
Method Summary
protected  javax.management.ObjectName calculateObjectName(java.lang.String measurementDomain, Aggregate aAggregate)
           
 java.lang.Object getAttribute(java.lang.String string)
           
 javax.management.AttributeList getAttributes(java.lang.String[] strings)
           
 javax.management.MBeanInfo getMBeanInfo()
           
 java.lang.Object invoke(java.lang.String string, java.lang.Object[] objects, java.lang.String[] strings)
           
protected  void registerMBean(javax.management.MBeanServer mbeanServer, javax.management.ObjectName objectName, java.lang.Object object, boolean overwrite)
           
 java.lang.String renderResultsAsText()
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributeList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabularType

protected javax.management.openmbean.TabularType tabularType
Constructor Detail

EtmMonitorMBean

public EtmMonitorMBean(EtmMonitor aEtmMonitor,
                       java.lang.String aMeasurementDomain)
                throws javax.management.openmbean.OpenDataException
Throws:
javax.management.openmbean.OpenDataException
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String string)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] strings)
Specified by:
getAttributes in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributeList)
Specified by:
setAttributes in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String string,
                               java.lang.Object[] objects,
                               java.lang.String[] strings)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

renderResultsAsText

public java.lang.String renderResultsAsText()

registerMBean

protected void registerMBean(javax.management.MBeanServer mbeanServer,
                             javax.management.ObjectName objectName,
                             java.lang.Object object,
                             boolean overwrite)
                      throws javax.management.JMException
Throws:
javax.management.JMException

calculateObjectName

protected javax.management.ObjectName calculateObjectName(java.lang.String measurementDomain,
                                                          Aggregate aAggregate)
                                                   throws javax.management.JMException
Throws:
javax.management.JMException


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.