1 23 24 26 27 package com.sun.enterprise.management.monitor; 28 29 import javax.management.j2ee.statistics.MessageDrivenBeanStats ; 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 MessageDrivenBeanMonitorImpl extends BeanMonitorImplBase 37 { 39 public 40 MessageDrivenBeanMonitorImpl(final Delegate delegate) 41 { 42 super( XTypes.MESSAGE_DRIVEN_BEAN_MONITOR, delegate ); 43 } 44 45 protected Class 46 getStatsInterface() 47 { 48 return( MessageDrivenBeanStats .class ); 49 } 50 51 52 public MessageDrivenBeanStats 53 getMessageDrivenBeanStats() 54 { 55 return (MessageDrivenBeanStats )getStats(); 56 } 57 58 public EJBStats 59 getEJBStats() 60 { 61 return( getMessageDrivenBeanStats() ); 62 } 63 } 64 | Popular Tags |