org.jboss.varia.stats
Class DataSourceInterceptorJDK5
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.varia.stats.DataSourceInterceptor
org.jboss.varia.stats.DataSourceInterceptorJDK5
- All Implemented Interfaces:
- Wrapper, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, CommonDataSource, DataSource, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean, DataSourceInterceptorMBean
public class DataSourceInterceptorJDK5
- extends DataSourceInterceptor
- Version:
- $Revision: 85945 $
- Author:
- Alexey Loubyansky
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.varia.stats.DataSourceInterceptor |
getBindName, getLoginTimeout, getLogWriter, getStatsCollector, getTargetName, logSql, setBindName, setLoginTimeout, setLogWriter, setStatsCollector, setTargetName, startService, stopService |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceInterceptorJDK5
public DataSourceInterceptorJDK5()
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Specified by:
getConnection
in class DataSourceInterceptor
- Throws:
SQLException
getConnection
public Connection getConnection(String username,
String password)
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Specified by:
getConnection
in class DataSourceInterceptor
- Throws:
SQLException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.