public class ConnectionProxyFactory<Z,D extends Database<Z>,P> extends AbstractSQLProxyFactory<Z,D,P,Connection>
logger
Constructor and Description |
---|
ConnectionProxyFactory(P parentProxy,
ProxyFactory<Z,D,P,SQLException> parent,
Invoker<Z,D,P,Connection,SQLException> invoker,
Map<D,Connection> map,
TransactionContext<Z,D> context) |
Modifier and Type | Method and Description |
---|---|
void |
close(D database,
Connection connection) |
Connection |
createProxy() |
Connection |
getConnection(D database) |
evaluate, extractLocks, extractLocks, isSelectForUpdate, locatorsUpdateCopy
getTransactionContext
close, create, getParent, getParentProxy, remove
addChild, children, entries, get, getDatabaseCluster, getExceptionFactory, record, remove, removeChild, removeChildren, replay
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionContext
close, getParent, getParentProxy, remove
addChild, entries, get, getDatabaseCluster, getExceptionFactory, record, removeChild, removeChildren, replay
public ConnectionProxyFactory(P parentProxy, ProxyFactory<Z,D,P,SQLException> parent, Invoker<Z,D,P,Connection,SQLException> invoker, Map<D,Connection> map, TransactionContext<Z,D> context)
public Connection getConnection(D database)
public Connection createProxy()
public void close(D database, Connection connection)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.