1 22 package org.jboss.mx.util; 23 24 import javax.management.MBeanAttributeInfo ; 25 import javax.management.ObjectName ; 26 import javax.management.monitor.MonitorNotification ; 27 28 32 public interface MonitorCallback 33 { 34 41 public void monitorCallback(ObservedObject object, MBeanAttributeInfo attributeInfo, 42 Object value) throws Exception ; 43 44 public MonitorNotification createNotification(String type, Object source, 45 long timeStamp, String message, Object derivedGauge, 46 String observedAttribute, ObjectName observedObject, 47 Object trigger); 48 } 49 | Popular Tags |