play.db
Class DBPlugin.PlayConnectionCustomizer

java.lang.Object
  extended by play.db.DBPlugin.PlayConnectionCustomizer
All Implemented Interfaces:
ConnectionCustomizer
Enclosing class:
DBPlugin

public static class DBPlugin.PlayConnectionCustomizer
extends java.lang.Object
implements ConnectionCustomizer


Field Summary
static java.util.Map<java.lang.String,java.lang.Integer> isolationLevels
           
 
Constructor Summary
DBPlugin.PlayConnectionCustomizer()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isolationLevels

public static java.util.Map<java.lang.String,java.lang.Integer> isolationLevels
Constructor Detail

DBPlugin.PlayConnectionCustomizer

public DBPlugin.PlayConnectionCustomizer()
Method Detail

onAcquire

public void onAcquire(java.sql.Connection c,
                      java.lang.String parentDataSourceIdentityToken)
Specified by:
onAcquire in interface ConnectionCustomizer

onDestroy

public void onDestroy(java.sql.Connection c,
                      java.lang.String parentDataSourceIdentityToken)
Specified by:
onDestroy in interface ConnectionCustomizer

onCheckOut

public void onCheckOut(java.sql.Connection c,
                       java.lang.String parentDataSourceIdentityToken)
Specified by:
onCheckOut in interface ConnectionCustomizer

onCheckIn

public void onCheckIn(java.sql.Connection c,
                      java.lang.String parentDataSourceIdentityToken)
Specified by:
onCheckIn in interface ConnectionCustomizer


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly