public class ResultSetWrapperProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier and Type | Method and Description |
---|---|
static java.sql.ResultSet |
generateProxy(java.sql.ResultSet resultSet,
ColumnNameCache columnNameCache,
ServiceRegistry serviceRegistry)
Generates a proxy wrapping the ResultSet.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
public static java.sql.ResultSet generateProxy(java.sql.ResultSet resultSet, ColumnNameCache columnNameCache, ServiceRegistry serviceRegistry)
resultSet
- The resultSet to wrap.columnNameCache
- The cache storing data for converting column names to column indexes.serviceRegistry
- Access to any needed servicespublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.