safejdbc
Class ConnectionProxy

java.lang.Object
safejdbc.ConnectionProxy
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- class ConnectionProxy
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_classLoader
private static final java.lang.ClassLoader _classLoader
_inner
private java.sql.Connection _inner
_loglistener
private LogListener _loglistener
ConnectionProxy
public ConnectionProxy(java.sql.Connection inner,
LogListener loglistener)
getConnectionProxy
public static java.sql.Connection getConnectionProxy(java.sql.Connection connection,
LogListener loglistener)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Description copied from interface:
java.lang.reflect.InvocationHandler
- When a method is invoked on a proxy instance, it is wrapped and
this method is called instead, so that you may decide at runtime
how the original method should behave.
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler