Z - D - P - T - public abstract class LocatorInvocationHandler<Z,D extends Database<Z>,P,T,F extends LocatorProxyFactory<Z,D,P,T>> extends ChildInvocationHandler<Z,D,P,SQLException,T,SQLException,F>
logger| Modifier | Constructor and Description |
|---|---|
protected |
LocatorInvocationHandler(Class<T> proxyClass,
F proxyFactory,
Set<Method> readMethods,
Set<Method> writeMethods) |
| Modifier and Type | Method and Description |
|---|---|
protected InvocationStrategy |
getInvocationStrategy(T locator,
Method method,
Object... parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
protected <R> void |
postInvoke(Invoker<Z,D,T,R,SQLException> invoker,
T proxy,
Method method,
Object... parameters) |
invokegetInvoker, getInvoker, getProxyFactory, getProxyFactoryFactoryprotected InvocationStrategy getInvocationStrategy(T locator, 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 AbstractInvocationHandler<Z,D extends Database<Z>,T,SQLException,F extends LocatorProxyFactory<Z,D,P,T>>locator - the proxied objectmethod - the method to invokeparameters - the method invocation parametersSQLExceptionprotected <R> void postInvoke(Invoker<Z,D,T,R,SQLException> invoker, T proxy, Method method, Object... parameters)
postInvoke in class AbstractInvocationHandler<Z,D extends Database<Z>,T,SQLException,F extends LocatorProxyFactory<Z,D,P,T>>Copyright © 2004–2014 Paul Ferraro. All rights reserved.