org.castor.jdo.drivers

Class ConnectionProxy

public final class ConnectionProxy extends Object implements InvocationHandler

Proxy class for JDBC Connection class, to allow information gathering for the purpose of SQL statement logging.

Since: 1.0.4

Version: $Revision: 6310 $ $Date$

Author: Ralf Joachim

Constructor Summary
protected ConnectionProxy(Connection con, String calledBy)
Creates an instance of ConnectionProxy.
Method Summary
Objectinvoke(Object proxy, Method method, Object[] args)

Constructor Detail

ConnectionProxy

protected ConnectionProxy(Connection con, String calledBy)
Creates an instance of ConnectionProxy.

Parameters: con JDBC Connectio instance to be proxied. calledBy Name of the class using creating and this proxy class.

Method Detail

invoke

public Object invoke(Object proxy, Method method, Object[] args)
{@inheritDoc }
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com