1 8 9 package mx4j.tools.stats; 10 11 12 17 public class ObserverStatisticsRecorderMBeanDescription extends StatisticsRecorderMBeanDescription 18 { 19 public String getAttributeDescription(String attribute) 20 { 21 if (attribute.equals("ObservedAttribute")) 22 { 23 return "The Attribute to be observed"; 24 } 25 if (attribute.equals("ObservedObject")) 26 { 27 return "The ObjectName to be observed"; 28 } 29 return super.getAttributeDescription(attribute); 30 } 31 } 32 | Popular Tags |