|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionCustomizer
Listener of connections created by a PoolingDataSource. Implementations of this class must be serializable and are handed raw, physical database Connections
Method Summary | |
---|---|
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. |
Method Detail |
---|
void onAcquire(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |