uk.co.gidley.jmxmonitor.monitoring
Class SimpleJmxMonitor

java.lang.Object
  extended by uk.co.gidley.jmxmonitor.monitoring.SimpleJmxMonitor
All Implemented Interfaces:
Monitor

public class SimpleJmxMonitor
extends Object
implements Monitor

Created by IntelliJ IDEA. User: ben Date: Dec 23, 2009 Time: 7:04:11 PM


Constructor Summary
SimpleJmxMonitor(String name, ObjectName objectName, String attributeName, MBeanServerConnection jmxConnection)
           
 
Method Summary
 String getName()
          The name of the monitor This is defined in the scope of the monitor group
 Object getReading()
          The reading is typically a base type or a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleJmxMonitor

public SimpleJmxMonitor(String name,
                        ObjectName objectName,
                        String attributeName,
                        MBeanServerConnection jmxConnection)
Method Detail

getName

public String getName()
Description copied from interface: Monitor
The name of the monitor This is defined in the scope of the monitor group

Specified by:
getName in interface Monitor
Returns:

getReading

public Object getReading()
                  throws ReadingFailedException
Description copied from interface: Monitor
The reading is typically a base type or a String. Other items can be used but you need to be sure EL can handle them

Specified by:
getReading in interface Monitor
Returns:
Throws:
ReadingFailedException


Copyright © 2009-2010. All Rights Reserved.