1 22 package org.jboss.monitor; 23 24 import org.jboss.system.ServiceMBean; 25 26 import javax.management.ObjectName ; 27 import java.util.ArrayList ; 28 29 36 public interface JBossMonitorMBean extends ServiceMBean 37 { 38 String getMonitorName(); 39 40 void setMonitorName(String name); 41 42 ObjectName getObservedObject(); 43 44 void setObservedObject(ObjectName oname); 45 46 String getObservedAttribute(); 47 48 void setObservedAttribute(String attr); 49 50 public String getThreshold(); 51 public void setThreshold(String val); 52 53 boolean getEnabled(); 54 55 void setEnabled(boolean start); 56 57 long getPeriod(); 58 59 void setPeriod(long period); 60 61 ArrayList getAlertListeners(); 62 void setAlertListeners(ArrayList listeners); 63 64 public Object getTriggeredAttributeValue(); 65 public long getTriggerTime(); 66 67 68 boolean alerted(); 69 70 void clearAlert(); 71 72 } 73 | Popular Tags |