private static class TransactionAwareConnectionFactoryProxy.TransactionAwareInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier and Type | Field and Description |
---|---|
private ConnectionFactory |
connectionFactory |
private Connection |
target |
Constructor and Description |
---|
TransactionAwareInvocationHandler(Connection target,
ConnectionFactory cf) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
private final Connection target
private final ConnectionFactory connectionFactory
public TransactionAwareInvocationHandler(Connection target, ConnectionFactory cf)
@Nullable public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable