站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

MonitorCallback (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.util
Interface MonitorCallback


public interface MonitorCallback

Version:
$Revision: 1.2 $
Author:
Scott.Stark@jboss.org

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

Method Detail

monitorCallback

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

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

createNotification

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.