D
- public class SavepointInvocationHandler<Z,D extends Database<Z>> extends ChildInvocationHandler<Z,D,Connection,SQLException,Savepoint,SQLException,SavepointProxyFactory<Z,D>>
logger
Constructor and Description |
---|
SavepointInvocationHandler(SavepointProxyFactory<Z,D> factory) |
Modifier and Type | Method and Description |
---|---|
protected InvocationStrategy |
getInvocationStrategy(Savepoint savepoint,
Method method,
Object... parameters)
Returns the appropriate
InvocationStrategy for the specified method. |
invoke
getInvoker, getInvoker, getProxyFactory, getProxyFactoryFactory, postInvoke
public SavepointInvocationHandler(SavepointProxyFactory<Z,D> factory)
factory
- a factory for creating savepoint proxies.protected InvocationStrategy getInvocationStrategy(Savepoint savepoint, Method method, Object... parameters)
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>,Savepoint,SQLException,SavepointProxyFactory<Z,D extends Database<Z>>>
savepoint
- the proxied objectmethod
- the method to invokeparameters
- the method invocation parametersCopyright © 2004–2014 Paul Ferraro. All rights reserved.