1 22 package org.jboss.management.j2ee.statistics; 23 24 import javax.management.j2ee.statistics.CountStatistic ; 25 import javax.management.j2ee.statistics.MessageDrivenBeanStats ; 26 27 33 public class MessageDrivenBeanStatsImpl extends EJBStatsImpl 34 implements MessageDrivenBeanStats ![JavaDoc](../../../../../../cmn/javadoc.gif) 35 { 36 38 39 private static final long serialVersionUID = 3835482991422653299L; 40 41 43 private CountStatisticImpl messageCount; 44 45 47 public MessageDrivenBeanStatsImpl() 48 { 49 messageCount = new CountStatisticImpl("MessageCount", "1", 50 "The count of messages received"); 51 addStatistic("MessageCount", messageCount); 52 } 53 54 56 public CountStatistic getMessageCount() 57 { 58 return messageCount; 59 } 60 61 } 63 | Popular Tags |