1 8 9 package mx4j.monitor; 10 11 import javax.management.ObjectName ; 12 13 16 public interface MX4JMonitorMBean 17 { 18 public void start(); 19 20 public void stop(); 21 22 public boolean isActive(); 23 24 public void addObservedObject(ObjectName object) throws IllegalArgumentException ; 25 26 public void removeObservedObject(ObjectName object); 27 28 public boolean containsObservedObject(ObjectName object); 29 30 public ObjectName [] getObservedObjects(); 31 32 public String getObservedAttribute(); 33 34 public void setObservedAttribute(String attribute); 35 36 public long getGranularityPeriod(); 37 38 public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException ; 39 } 40 | Popular Tags |