1 23 24 29 30 package com.sun.enterprise.admin.selfmanagement.event; 31 32 import javax.management.ObjectName ; 35 36 42 public interface StatisticMonitorMBean { 43 44 47 public void start(); 48 49 52 public void stop(); 53 54 57 65 public void addObservedObject(ObjectName object) throws java.lang.IllegalArgumentException ; 66 67 74 public void removeObservedObject(ObjectName object); 75 76 84 public boolean containsObservedObject(ObjectName object); 85 86 93 public ObjectName [] getObservedObjects(); 94 95 104 @Deprecated 105 public ObjectName getObservedObject(); 106 107 116 @Deprecated 117 public void setObservedObject(ObjectName object); 118 119 126 public String getObservedAttribute(); 127 128 135 public void setObservedAttribute(String attribute); 136 137 144 public long getGranularityPeriod(); 145 146 155 public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException ; 156 157 164 public boolean isActive(); 165 } 166 | Popular Tags |