public interface ConnectionLifecycleListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBorrow(JDBCDataStore store,
Connection cx)
Called when the collection is being borrowed from the connection pool
|
void |
onCommit(JDBCDataStore store,
Connection cx)
Called when the connection comes to a commit
|
void |
onRelease(JDBCDataStore store,
Connection cx)
Called when the collection is being released back to the connection pool
|
void |
onRollback(JDBCDataStore store,
Connection cx)
Called when the connection comes to a rollback
|
void onBorrow(JDBCDataStore store, Connection cx) throws SQLException
SQLExceptionvoid onRelease(JDBCDataStore store, Connection cx) throws SQLException
SQLExceptionvoid onCommit(JDBCDataStore store, Connection cx) throws SQLException
SQLExceptionvoid onRollback(JDBCDataStore store, Connection cx) throws SQLException
SQLExceptionCopyright © 1996–2021 Geotools. All rights reserved.