org.jboss.mx.util
Interface MonitorCallback


public interface MonitorCallback


Method Summary
 MonitorNotification (src) createNotification(java.lang.String type, java.lang.Object source, long timeStamp, java.lang.String message, java.lang.Object derivedGauge, java.lang.String observedAttribute, ObjectName (src)  observedObject, java.lang.Object trigger)
           
 void monitorCallback(ObservedObject (src)  object, MBeanAttributeInfo (src)  attributeInfo, java.lang.Object value)
          Perform the monitor specific processing.
 

Method Detail

monitorCallback

public void monitorCallback(ObservedObject (src)  object,
                            MBeanAttributeInfo (src)  attributeInfo,
                            java.lang.Object value)
                     throws java.lang.Exception
Perform the monitor specific processing.

Parameters:
object - the ObservedObject.
attributeInfo - the MBean attribute information.
value - the value to monitor.
Throws:
java.lang.Exception

createNotification

public MonitorNotification (src)  createNotification(java.lang.String type,
                                              java.lang.Object source,
                                              long timeStamp,
                                              java.lang.String message,
                                              java.lang.Object derivedGauge,
                                              java.lang.String observedAttribute,
                                              ObjectName (src)  observedObject,
                                              java.lang.Object trigger)