public abstract class AbstractPooledConnectionProxyFactory<Z,D extends Database<Z>,C extends PooledConnection> extends AbstractTransactionalProxyFactory<Z,D,Z,C>
logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractPooledConnectionProxyFactory(Z parentProxy,
ProxyFactory<Z,D,Z,SQLException> parent,
Invoker<Z,D,Z,C,SQLException> invoker,
Map<D,C> map) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(ConnectionEventListener listener,
Invoker<Z,D,C,?,SQLException> invoker) |
void |
addStatementEventListener(StatementEventListener listener,
Invoker<Z,D,C,?,SQLException> invoker) |
void |
close(D database,
C connection) |
void |
removeConnectionEventListener(ConnectionEventListener listener) |
void |
removeStatementEventListener(StatementEventListener listener) |
void |
replay(D database,
C connection) |
getTransactionContext
close, create, getParent, getParentProxy, remove
addChild, children, entries, get, getDatabaseCluster, getExceptionFactory, record, remove, removeChild, removeChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getParent, getParentProxy, remove
addChild, createProxy, entries, get, getDatabaseCluster, getExceptionFactory, record, removeChild, removeChildren
protected AbstractPooledConnectionProxyFactory(Z parentProxy, ProxyFactory<Z,D,Z,SQLException> parent, Invoker<Z,D,Z,C,SQLException> invoker, Map<D,C> map)
public void addConnectionEventListener(ConnectionEventListener listener, Invoker<Z,D,C,?,SQLException> invoker)
public void removeConnectionEventListener(ConnectionEventListener listener)
public void addStatementEventListener(StatementEventListener listener, Invoker<Z,D,C,?,SQLException> invoker)
public void removeStatementEventListener(StatementEventListener listener)
public void replay(D database, C connection) throws SQLException
replay
in interface ProxyFactory<Z,D extends Database<Z>,C extends PooledConnection,SQLException>
replay
in class AbstractProxyFactory<Z,D extends Database<Z>,SQLException,C extends PooledConnection,SQLException>
SQLException
Copyright © 2004–2014 Paul Ferraro. All rights reserved.