org.firebirdsql.pool
Class ResultSetHandler

java.lang.Object
  extended by org.firebirdsql.pool.ResultSetHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

Deprecated.

@Deprecated
public class ResultSetHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Wrapper for result sets. This class watches the ResultSet.getStatement() invocations and substitutes the result of the method call with the proxy wrapping corresponding prepared statement.

Author:
Roman Rokytskyy

Constructor Summary
ResultSetHandler(java.sql.Statement owner, java.sql.ResultSet target)
          Deprecated. Create instance of this class for the specified prepared statement proxy and target result set.
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Deprecated. Implementation of the dynamic proxy handler interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetHandler

public ResultSetHandler(java.sql.Statement owner,
                        java.sql.ResultSet target)
Deprecated. 
Create instance of this class for the specified prepared statement proxy and target result set.

Parameters:
owner - dynamic proxy implementing PreparedStatement interface that generated result set to wrap.
target - result set to wrap.
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Deprecated. 
Implementation of the dynamic proxy handler interface.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable


Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.