org.apache.ojb.broker.util.batch
Class PreparedStatementInvocationHandler

java.lang.Object
  extended by org.apache.ojb.broker.util.batch.PreparedStatementInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class PreparedStatementInvocationHandler
extends Object
implements 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)

Constructor Summary
PreparedStatementInvocationHandler(BatchConnection batchConn, String sql, JdbcConnectionDescriptor jcd)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreparedStatementInvocationHandler

public PreparedStatementInvocationHandler(BatchConnection batchConn,
                                          String sql,
                                          JdbcConnectionDescriptor jcd)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.