public class ArrayInvocationHandler<D,P> extends LocatorInvocationHandler<D,P,java.sql.Array>
AbstractInvocationHandler.SimpleInvoker
cluster, logger
Constructor and Description |
---|
ArrayInvocationHandler(P parent,
SQLProxy<D,P> proxy,
Invoker<D,P,java.sql.Array> invoker,
java.util.Map<Database<D>,java.sql.Array> objectMap) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<java.lang.reflect.Method> |
getDatabaseReadMethodSet() |
protected InvocationStrategy<D,java.sql.Array,?> |
getInvocationStrategy(java.sql.Array object,
java.lang.reflect.Method method,
java.lang.Object[] parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
close, postInvoke, record
close, createObject, getParent, getParentProxy, getRoot
addChild, detectClusterPanic, entries, entry, getDatabaseCluster, getInvoker, getObject, handleFailure, handleFailures, handlePartialFailure, invoke, isRecordable, isSQLMethod, removeChild, removeChildren, replay, retain
protected InvocationStrategy<D,java.sql.Array,?> getInvocationStrategy(java.sql.Array object, java.lang.reflect.Method method, java.lang.Object[] parameters) throws java.lang.Exception
InvocationStrategy
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 LocatorInvocationHandler<D,P,java.sql.Array>
object
- the proxied objectmethod
- the method to invokeparameters
- the method invocation parametersjava.lang.Exception
LocatorInvocationHandler.getInvocationStrategy(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
protected java.util.Set<java.lang.reflect.Method> getDatabaseReadMethodSet()
getDatabaseReadMethodSet
in class LocatorInvocationHandler<D,P,java.sql.Array>
LocatorInvocationHandler.getDatabaseReadMethodSet()