1 22 package org.jboss.management.j2ee.statistics; 23 24 import javax.management.j2ee.statistics.RangeStatistic ; 25 import javax.management.j2ee.statistics.StatelessSessionBeanStats ; 26 27 33 public class StatelessSessionBeanStatsImpl extends EJBStatsImpl 34 implements StatelessSessionBeanStats 35 { 36 38 39 private static final long serialVersionUID = -5805813168279134341L; 40 41 43 private RangeStatisticImpl methodReadyCount; 44 45 47 public StatelessSessionBeanStatsImpl() 48 { 49 methodReadyCount = new RangeStatisticImpl("MethodReadyCount", "1", 50 "The count of beans in the method-ready state"); 51 addStatistic("MethodReadyCount", methodReadyCount); 52 } 53 54 56 public RangeStatistic getMethodReadyCount() 57 { 58 return methodReadyCount; 59 } 60 61 } 63 | Popular Tags |