1 23 24 26 27 package com.sun.enterprise.management.monitor; 28 29 import java.util.Map ; 30 31 import javax.management.ObjectName ; 32 import javax.management.j2ee.statistics.StatefulSessionBeanStats ; 33 import javax.management.j2ee.statistics.EJBStats ; 34 import javax.management.j2ee.statistics.Statistic ; 35 36 import com.sun.appserv.management.base.XTypes; 37 38 import com.sun.enterprise.management.support.Delegate; 39 40 public class StatefulSessionBeanMonitorImpl extends BeanMonitorImplBase 41 { 43 public 44 StatefulSessionBeanMonitorImpl( final Delegate delegate) 45 { 46 super( XTypes.STATEFUL_SESSION_BEAN_MONITOR, delegate ); 47 } 48 49 50 protected Class 51 getStatsInterface() 52 { 53 return( StatefulSessionBeanStats .class ); 54 } 55 56 public StatefulSessionBeanStats 57 getStatefulSessionBeanStats() 58 { 59 return (StatefulSessionBeanStats )getStats(); 60 } 61 62 public EJBStats 63 getEJBStats() 64 { 65 return( getStatefulSessionBeanStats() ); 66 } 67 } 68 | Popular Tags |