1 23 24 28 29 43 44 package com.sun.enterprise.admin.monitor.registry; 45 46 import javax.management.j2ee.statistics.Stats ; 47 import javax.management.ObjectName ; 48 import java.util.Collection ; 49 50 51 61 public interface StatsHolder { 62 66 StatsHolder addChild(String name, MonitoredObjectType type); 67 68 73 Collection getAllChildren(); 74 75 78 void removeAllChildren(); 79 80 83 String getName(); 84 85 88 MonitoredObjectType getType(); 89 90 95 void setStats(Stats stats); 96 97 Stats getStats(); 98 99 void setStatsClass(Class c); 100 101 Class getStatsClass(); 102 103 void setStatsClassName(String cName); 104 105 String getStatsClassName(); 106 107 110 void setObjectName(ObjectName name); 111 112 115 ObjectName getObjectName(); 116 117 120 void setDottedName(String dottedName); 121 122 125 String getDottedName(); 126 127 130 void registerMBean(); 131 132 135 void unregisterMBean(); 136 137 void setType(MonitoredObjectType type); 138 139 StatsHolder getChild(String name); 140 141 void removeChild(String name); 142 } 143 | Popular Tags |