org.apache.ojb.broker.util.batch
Class PreparedStatementInvocationHandler
java.lang.Object
org.apache.ojb.broker.util.batch.PreparedStatementInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- public class PreparedStatementInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
The implementation of java.reflect.InvocationHandler
which is used
to create dynamic proxy which will implement PreparedStatement
and
BatchPreparedStatement
.
- Author:
- Oleg Nitz (olegnitz@apache.org)
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreparedStatementInvocationHandler
public PreparedStatementInvocationHandler(BatchConnection batchConn,
java.lang.String sql,
JdbcConnectionDescriptor jcd)
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
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14