public interface ConnectionCustomizer
| Modifier and Type | Method and Description |
|---|---|
void |
onAcquire(Connection connection,
String uniqueName)
Called when the physical connection is created.
|
void |
onDestroy(Connection connection,
String uniqueName)
Called when the physical connection is destroyed.
|
void |
onLease(Connection connection,
String uniqueName)
Called when the physical connection is leased from the pool.
|
void |
onRelease(Connection connection,
String uniqueName)
Called when the physical connection is returned to the pool.
|
void onAcquire(Connection connection, String uniqueName)
connection - the physical connection.uniqueName - the PoolingDataSource unique name.void onLease(Connection connection, String uniqueName)
connection - the physical connection.uniqueName - the PoolingDataSource unique name.void onRelease(Connection connection, String uniqueName)
connection - the physical connection.uniqueName - the PoolingDataSource unique name.void onDestroy(Connection connection, String uniqueName)
connection - the physical connection.uniqueName - the PoolingDataSource unique name.Copyright © 2006-2016 Bitronix Software. All Rights Reserved.