package org.jboss.mx.util;
import javax.management.MBeanAttributeInfo;
import javax.management.ObjectName;
import javax.management.monitor.MonitorNotification;
public interface MonitorCallback
{
public void monitorCallback(ObservedObject object, MBeanAttributeInfo attributeInfo,
Object value) throws Exception;
public MonitorNotification createNotification(String type, Object source,
long timeStamp, String message, Object derivedGauge,
String observedAttribute, ObjectName observedObject,
Object trigger);
}