1 23 package com.sun.enterprise.resource.monitor; 24 import java.util.logging.Level ; 25 26 import com.sun.enterprise.admin.monitor.stats.GenericStatsImpl; 27 import com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStats; 28 29 30 import com.sun.enterprise.resource.MonitorableResourcePool; 31 39 40 public class JDBCConnectionPoolStatsImpl extends ConnectionPoolStatsImpl 41 implements JDBCConnectionPoolStats { 42 47 public JDBCConnectionPoolStatsImpl( MonitorableResourcePool pool ) { 48 super(); 49 String statsInterface = "com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStats"; 50 pool_ = pool; 51 initializeStatistics(); 52 try { 53 gsImpl = new GenericStatsImpl(statsInterface, this ); 54 } catch( ClassNotFoundException cnfe ) { 55 _logger.log( Level.INFO, "poolmon.cnfe", "GenericStatsImpl" ); 56 } 57 } 58 } 59 | Popular Tags |