org.talend.esb.monitoring.hq
Class DynamicMxFieldMeasurementPlugin

java.lang.Object
  extended by org.hyperic.hq.product.GenericPlugin
      extended by org.hyperic.hq.product.MeasurementPlugin
          extended by org.hyperic.hq.product.jmx.MxMeasurementPlugin
              extended by org.talend.esb.monitoring.hq.DynamicMxFieldMeasurementPlugin

public class DynamicMxFieldMeasurementPlugin
extends org.hyperic.hq.product.jmx.MxMeasurementPlugin

This class implements a measurement plug-in for a Hyperic, that provides metric measurement for JMX services with a dynamic name. Provides also caching for object names.

Author:
Eugene Tarasov

Field Summary
 
Fields inherited from class org.hyperic.hq.product.MeasurementPlugin
PROP_TEMPLATE_CONFIG, TYPE_COLLECTOR
 
Fields inherited from class org.hyperic.hq.product.GenericPlugin
config, FILE_DELIM, FILE_DELIM_ESC, PROP_NAME
 
Constructor Summary
DynamicMxFieldMeasurementPlugin()
           
 
Method Summary
 org.hyperic.hq.product.MetricValue getValue(org.hyperic.hq.product.Metric metric)
          
 void init(org.hyperic.hq.product.PluginManager manager)
          
 void shutdown()
          
 
Methods inherited from class org.hyperic.hq.product.jmx.MxMeasurementPlugin
translate
 
Methods inherited from class org.hyperic.hq.product.MeasurementPlugin
getCollectorProperties, getConfigSchema, getHelp, getManager, getMeasurementProperties, getMeasurements, getNewCollector, getPlatformHelpProperties, getPluginXMLHelp
 
Methods inherited from class org.hyperic.hq.product.GenericPlugin
adjustClassPath, configure, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getPluginVersion, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setPluginVersion, setTypeInfo, toFileList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicMxFieldMeasurementPlugin

public DynamicMxFieldMeasurementPlugin()
Method Detail

init

public void init(org.hyperic.hq.product.PluginManager manager)
          throws org.hyperic.hq.product.PluginException

Overrides:
init in class org.hyperic.hq.product.MeasurementPlugin
Throws:
org.hyperic.hq.product.PluginException

shutdown

public void shutdown()
              throws org.hyperic.hq.product.PluginException

Overrides:
shutdown in class org.hyperic.hq.product.GenericPlugin
Throws:
org.hyperic.hq.product.PluginException

getValue

public org.hyperic.hq.product.MetricValue getValue(org.hyperic.hq.product.Metric metric)
                                            throws org.hyperic.hq.product.PluginException,
                                                   org.hyperic.hq.product.MetricNotFoundException,
                                                   org.hyperic.hq.product.MetricUnreachableException,
                                                   org.hyperic.hq.product.MetricInvalidException

Overrides:
getValue in class org.hyperic.hq.product.jmx.MxMeasurementPlugin
Throws:
org.hyperic.hq.product.PluginException
org.hyperic.hq.product.MetricNotFoundException
org.hyperic.hq.product.MetricUnreachableException
org.hyperic.hq.product.MetricInvalidException


Copyright © 2011–2015 Talend Inc.. All rights reserved.