public interface ProxyFactory
| Modifier and Type | Method and Description |
|---|---|
Batch |
wrapBatch(Batch batch,
ConnectionInfo connectionInfo)
Create a proxy
Batch. |
Connection |
wrapConnection(Connection connection,
ConnectionInfo connectionInfo)
Create a proxy
Connection. |
ConnectionFactory |
wrapConnectionFactory(ConnectionFactory connectionFactory)
Create a proxy
ConnectionFactory. |
Result |
wrapResult(Result result,
QueryExecutionInfo executionInfo)
Create a proxy
Result. |
Statement |
wrapStatement(Statement statement,
StatementInfo statementInfo,
ConnectionInfo connectionInfo)
Create a proxy
Statement. |
ConnectionFactory wrapConnectionFactory(ConnectionFactory connectionFactory)
ConnectionFactory.connectionFactory - original connectionFactoryIllegalArgumentException - if connectionFactory is nullConnection wrapConnection(Connection connection, ConnectionInfo connectionInfo)
Connection.connection - original connectionconnectionInfo - connectionInfoIllegalArgumentException - if connection is nullIllegalArgumentException - if connectionInfo is nullBatch wrapBatch(Batch batch, ConnectionInfo connectionInfo)
Batch.batch - original batchconnectionInfo - connectionInfoIllegalArgumentException - if batch is nullIllegalArgumentException - if connectionInfo is nullStatement wrapStatement(Statement statement, StatementInfo statementInfo, ConnectionInfo connectionInfo)
Statement.statement - original statementstatementInfo - contextual information of creating the StatementconnectionInfo - connectionInfoIllegalArgumentException - if statement is nullIllegalArgumentException - if originalQuery is nullIllegalArgumentException - if updatedQuery is nullIllegalArgumentException - if connectionInfo is nullResult wrapResult(Result result, QueryExecutionInfo executionInfo)
Result.result - original resultexecutionInfo - executionInfoIllegalArgumentException - if result is nullIllegalArgumentException - if executionInfo is nullCopyright © 2020. All rights reserved.