public class DatabaseMetaDataProxyHandler extends AbstractProxyHandler
DatabaseMetaData
proxies.
Mainly we need to intercept the methods defined on DatabaseMetaData
which expose
ResultSet
instances, which in turn expose Statement
instances, which in turn...Constructor and Description |
---|
DatabaseMetaDataProxyHandler(java.sql.DatabaseMetaData databaseMetaData,
ConnectionProxyHandler connectionProxyHandler,
java.sql.Connection connectionProxy) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
continueInvocation(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected boolean |
doesMethodExposeResultSet(java.lang.reflect.Method method) |
errorIfInvalid, hashCode, invalidate, invoke, isValid, toString
public DatabaseMetaDataProxyHandler(java.sql.DatabaseMetaData databaseMetaData, ConnectionProxyHandler connectionProxyHandler, java.sql.Connection connectionProxy)
protected java.lang.Object continueInvocation(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
continueInvocation
in class AbstractProxyHandler
java.lang.Throwable
protected boolean doesMethodExposeResultSet(java.lang.reflect.Method method)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.