Package play.db.c3p0
Class PlayConnectionCustomizer
- java.lang.Object
-
- play.db.c3p0.PlayConnectionCustomizer
-
- All Implemented Interfaces:
com.mchange.v2.c3p0.ConnectionCustomizer
public class PlayConnectionCustomizer extends java.lang.Object implements com.mchange.v2.c3p0.ConnectionCustomizer
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,java.lang.Integer>
isolationLevels
-
Constructor Summary
Constructors Constructor Description PlayConnectionCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAcquire(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
void
onCheckIn(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
void
onCheckOut(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
void
onDestroy(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
-
-
-
Method Detail
-
onAcquire
public void onAcquire(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
- Specified by:
onAcquire
in interfacecom.mchange.v2.c3p0.ConnectionCustomizer
-
onDestroy
public void onDestroy(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
- Specified by:
onDestroy
in interfacecom.mchange.v2.c3p0.ConnectionCustomizer
-
onCheckOut
public void onCheckOut(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
- Specified by:
onCheckOut
in interfacecom.mchange.v2.c3p0.ConnectionCustomizer
-
onCheckIn
public void onCheckIn(java.sql.Connection c, java.lang.String parentDataSourceIdentityToken)
- Specified by:
onCheckIn
in interfacecom.mchange.v2.c3p0.ConnectionCustomizer
-
-