org.castor.jdo.drivers
Class ConnectionProxy
java.lang.Objectorg.castor.jdo.drivers.ConnectionProxy
- InvocationHandler
public final class ConnectionProxy
extends java.lang.Object
implements InvocationHandler
Proxy class for JDBC Connection class, to allow information gathering
for the purpose of SQL statement logging.
ConnectionProxy(Connection con, String calledBy)- Creates an instance of ConnectionProxy.
|
Object | invoke(Object proxy, Method method, Object[] args)-
|
ConnectionProxy
public ConnectionProxy(Connection con,
String calledBy) Creates an instance of ConnectionProxy.
con - JDBC Connectio instance to be proxied.calledBy - Name of the class using creating and this proxy class.
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com