org.castor.jdo.drivers

Class CallableStatementProxy

Implemented Interfaces:
InvocationHandler

public final class CallableStatementProxy
extends java.lang.Object
implements InvocationHandler

Proxy class for JDBC CallableStatement class, to allow information gathering for the purpose of SQL statement logging.
Version:
$Revision: 6310 $ $Date$
Author:
Ralf Joachim
Since:
1.0.4

Constructor Summary

CallableStatementProxy(CallableStatement stmt, String sql)
Creates an instance of this class.

Method Summary

Object
invoke(Object proxy, Method method, Object[] args)

Constructor Details

CallableStatementProxy

protected CallableStatementProxy(CallableStatement stmt,
                                 String sql)
Creates an instance of this class.
Parameters:
stmt - Callable statement to be proxied.
sql - SQL string.

Method Details

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
            throws Throwable

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com