D - public class CallableStatementInvocationHandler<D> extends AbstractPreparedStatementInvocationHandler<D,java.sql.CallableStatement>
AbstractInvocationHandler.SimpleInvokerlockList, selectForUpdatefileSupport, transactionContextcluster, logger| Constructor and Description |
|---|
CallableStatementInvocationHandler(java.sql.Connection connection,
SQLProxy<D,java.sql.Connection> proxy,
Invoker<D,java.sql.Connection,java.sql.CallableStatement> invoker,
java.util.Map<Database<D>,java.sql.CallableStatement> statementMap,
TransactionContext<D> transactionContext,
FileSupport fileSupport) |
| Modifier and Type | Method and Description |
|---|---|
protected InvocationStrategy<D,java.sql.CallableStatement,?> |
getInvocationStrategy(java.sql.CallableStatement statement,
java.lang.reflect.Method method,
java.lang.Object[] parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
protected boolean |
isBatchMethod(java.lang.reflect.Method method) |
protected boolean |
isIndexType(java.lang.Class<?> type) |
getInvokerclose, extractLocks, getDatabaseProperties, handlePartialFailure, isEndBatchMethod, isRecordable, isSelectForUpdate, isSQLMethod, postInvoke, record, replayclose, createObject, getParent, getParentProxy, getRootaddChild, detectClusterPanic, entries, entry, getDatabaseCluster, getObject, handleFailure, handleFailures, invoke, removeChild, removeChildren, retainpublic CallableStatementInvocationHandler(java.sql.Connection connection, SQLProxy<D,java.sql.Connection> proxy, Invoker<D,java.sql.Connection,java.sql.CallableStatement> invoker, java.util.Map<Database<D>,java.sql.CallableStatement> statementMap, TransactionContext<D> transactionContext, FileSupport fileSupport) throws java.lang.Exception
connection - proxy - invoker - statementMap - transactionContext - fileSupport - java.lang.Exceptionprotected InvocationStrategy<D,java.sql.CallableStatement,?> getInvocationStrategy(java.sql.CallableStatement statement, java.lang.reflect.Method method, java.lang.Object[] parameters) throws java.lang.Exception
AbstractInvocationHandlerInvocationStrategy for the specified method.
This implementation detects Wrapper methods; and Object.equals(java.lang.Object), Object.hashCode(), and Object.toString().
Default invocation strategy is DatabaseWriteInvocationStrategy.getInvocationStrategy in class AbstractPreparedStatementInvocationHandler<D,java.sql.CallableStatement>statement - the proxied objectmethod - the method to invokeparameters - the method invocation parametersjava.lang.ExceptionAbstractStatementInvocationHandler.getInvocationStrategy(java.sql.Statement, java.lang.reflect.Method, java.lang.Object[])protected boolean isBatchMethod(java.lang.reflect.Method method)
isBatchMethod in class AbstractPreparedStatementInvocationHandler<D,java.sql.CallableStatement>AbstractPreparedStatementInvocationHandler.isBatchMethod(java.lang.reflect.Method)protected boolean isIndexType(java.lang.Class<?> type)
isIndexType in class AbstractPreparedStatementInvocationHandler<D,java.sql.CallableStatement>AbstractPreparedStatementInvocationHandler.isIndexType(java.lang.Class)