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