etm.core.jmx
Class EtmMonitorJmxPlugin

java.lang.Object
  extended by etm.core.jmx.AbstractJmxRegistry
      extended by etm.core.jmx.EtmMonitorJmxPlugin
All Implemented Interfaces:
AggregationListener, AggregationStateListener, EtmMonitorListener, EtmPlugin

public class EtmMonitorJmxPlugin
extends AbstractJmxRegistry
implements EtmPlugin

A plugin that exports the current ETM Monitor and all top level performance results via JMX.

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

Field Summary
protected static java.lang.String DESCRIPTION
           
 
Fields inherited from class etm.core.jmx.AbstractJmxRegistry
DEFAULT_ETM_MONITOR_OBJECT_NAME, DEFAULT_ETM_POINT_DOMAIN, etmMonitor, mbeanServer, mbeanServerName, measurementDomain, monitorMBean, monitorObjectName, overwrite
 
Constructor Summary
EtmMonitorJmxPlugin()
           
 
Method Summary
protected  javax.management.ObjectName calculateObjectName(java.lang.String measurementDomain, Aggregate aAggregate)
           
 PluginMetaData getPluginMetaData()
          Returns the current JMX Plugin console metadata.
 void init(EtmMonitorContext aCtx)
          Lifecycle Method, will be called before EtmPlugin.start(), after initalization of the current EtmMonitor runtime.
protected  void registerMBean(javax.management.MBeanServer mbeanServer, javax.management.ObjectName objectName, java.lang.Object object, boolean overwrite)
           
 
Methods inherited from class etm.core.jmx.AbstractJmxRegistry
deregisterPerformanceResults, onRootCreate, onRootReset, onStateLoaded, onStateReset, preRootReset, preStateReset, setMbeanServerName, setMeasurementDomain, setMonitorObjectName, setOverwrite, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface etm.core.plugin.EtmPlugin
start, stop
 

Field Detail

DESCRIPTION

protected static final java.lang.String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

EtmMonitorJmxPlugin

public EtmMonitorJmxPlugin()
Method Detail

init

public void init(EtmMonitorContext aCtx)
Description copied from interface: EtmPlugin
Lifecycle Method, will be called before EtmPlugin.start(), after initalization of the current EtmMonitor runtime.

Specified by:
init in interface EtmPlugin
Parameters:
aCtx - The current EtmMonitor Context.

getPluginMetaData

public PluginMetaData getPluginMetaData()
Returns the current JMX Plugin console metadata. The provided map of properties contains

Specified by:
getPluginMetaData in interface EtmPlugin
Returns:
The plugin metadata

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.