com.liferay.portal.dao.jdbc.pool.c3p0
Class PortalConnectionCustomizer
java.lang.Object
com.liferay.portal.dao.jdbc.pool.c3p0.PortalConnectionCustomizer
- All Implemented Interfaces:
- com.mchange.v2.c3p0.ConnectionCustomizer
public class PortalConnectionCustomizer
- extends java.lang.Object
- implements com.mchange.v2.c3p0.ConnectionCustomizer
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
onAcquire(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
|
void |
onCheckIn(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
|
void |
onCheckOut(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
|
void |
onDestroy(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalConnectionCustomizer
public PortalConnectionCustomizer()
onAcquire
public void onAcquire(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
throws java.lang.Exception
- Specified by:
onAcquire
in interface com.mchange.v2.c3p0.ConnectionCustomizer
- Throws:
java.lang.Exception
onCheckIn
public void onCheckIn(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
- Specified by:
onCheckIn
in interface com.mchange.v2.c3p0.ConnectionCustomizer
onCheckOut
public void onCheckOut(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
- Specified by:
onCheckOut
in interface com.mchange.v2.c3p0.ConnectionCustomizer
onDestroy
public void onDestroy(java.sql.Connection connection,
java.lang.String parentDataSourceIdentityToken)
- Specified by:
onDestroy
in interface com.mchange.v2.c3p0.ConnectionCustomizer