org.databene.platform.db
Class PooledConnectionHandler
java.lang.Object
org.databene.platform.db.PooledConnectionHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class PooledConnectionHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Wraps a connection for logging of JDBC connection handling.
Created: 24.08.2008 18:47:44
- Since:
- 0.5.5
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PooledConnectionHandler
public PooledConnectionHandler(DBSystem db,
java.sql.Connection realConnection)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
close
public void close()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getConnection
public java.sql.Connection getConnection()
addConnectionEventListener
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
removeConnectionEventListener
public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
Copyright © 2010. All Rights Reserved.