public class ArrayInvocationHandler<Z,D extends Database<Z>,P> extends LocatorInvocationHandler<Z,D,P,Array,ArrayProxyFactory<Z,D,P>>
logger
Modifier | Constructor and Description |
---|---|
protected |
ArrayInvocationHandler(ArrayProxyFactory<Z,D,P> proxyFactory) |
Modifier and Type | Method and Description |
---|---|
protected InvocationStrategy |
getInvocationStrategy(Array array,
Method method,
Object... parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
postInvoke
invoke
getInvoker, getInvoker, getProxyFactory, getProxyFactoryFactory
protected ArrayInvocationHandler(ArrayProxyFactory<Z,D,P> proxyFactory)
protected InvocationStrategy getInvocationStrategy(Array array, Method method, Object... parameters) throws SQLException
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 AllResultsCollector
.getInvocationStrategy
in class LocatorInvocationHandler<Z,D extends Database<Z>,P,Array,ArrayProxyFactory<Z,D extends Database<Z>,P>>
array
- the proxied objectmethod
- the method to invokeparameters
- the method invocation parametersSQLException
LocatorInvocationHandler.getInvocationStrategy(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
Copyright © 2004–2014 Paul Ferraro. All rights reserved.