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
create, getDatabaseCluster, getParent, getParentProxy, getRoot, remove
addChild, entries, get, getExceptionFactory, record, removeChild, removeChildren, replay, retain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionContext
getParent, getParentProxy, remove
addChild, entries, get, getDatabaseCluster, getExceptionFactory, getRoot, record, removeChild, removeChildren, replay, retain
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–2013 Paul Ferraro. All rights reserved.