wt.jmx.core.mbeans
Interface MonitorManagerMBean

All Superinterfaces:
SelfEmailingMBean

public interface MonitorManagerMBean
extends SelfEmailingMBean

Manages (and persists) a set of javax.management.monitor.Monitor MBeans. These MBeans are a built-in part of Java; see http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/package-summary.html for more information.

Supported API: true

Extendable: true


Method Summary
 ObjectName addCounterMonitor(String monitorName)
          Add a CounterMonitor MBean with the given name and returns its ObjectName.
 ObjectName addGaugeMonitor(String monitorName)
          Add a GaugeMonitor MBean with the given name and returns its ObjectName.
 ObjectName addStringMonitor(String monitorName)
          Add a StringMonitor MBean with the given name and returns its ObjectName.
 String[] getMonitorNames()
          Names of monitors registered with this manager

Supported API: true
 void removeMonitor(String monitorName)
          Remove a monitor MBean given its name.
 
Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
 

Method Detail

getMonitorNames

String[] getMonitorNames()
Names of monitors registered with this manager

Supported API: true


addCounterMonitor

ObjectName addCounterMonitor(String monitorName)
                             throws Exception
Add a CounterMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/CounterMonitor.html for more information.

Supported API: true

Parameters:
monitorName - Name to give new CounterMonitor
Throws:
Exception

addGaugeMonitor

ObjectName addGaugeMonitor(String monitorName)
                           throws Exception
Add a GaugeMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/GaugeMonitor.html for more information.

Supported API: true

Parameters:
monitorName - Name to give new GaugeMonitor
Throws:
Exception

addStringMonitor

ObjectName addStringMonitor(String monitorName)
                            throws Exception
Add a StringMonitor MBean with the given name and returns its ObjectName. See http://java.sun.com/j2se/1.5.0/docs/api/javax/management/monitor/StringMonitor.html for more information.

Supported API: true

Parameters:
monitorName - Name to give new StringMonitor
Throws:
Exception

removeMonitor

void removeMonitor(String monitorName)
Remove a monitor MBean given its name.

Supported API: true

Parameters:
monitorName - Name of monitor to remove