public class TransactionCachingInterceptor extends java.lang.Object implements ConnectionInterceptor, ConnectionReleaser
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionCachingInterceptor.ManagedConnectionInfos |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
TransactionCachingInterceptor(ConnectionInterceptor next,
javax.transaction.TransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(java.lang.Object stuff) |
void |
destroy() |
void |
getConnection(ConnectionInfo connectionInfo) |
void |
info(java.lang.StringBuilder s) |
void |
returnConnection(ConnectionInfo connectionInfo,
ConnectionReturnAction connectionReturnAction) |
public TransactionCachingInterceptor(ConnectionInterceptor next, javax.transaction.TransactionManager transactionManager)
public void getConnection(ConnectionInfo connectionInfo) throws javax.resource.ResourceException
getConnection in interface ConnectionInterceptorjavax.resource.ResourceExceptionpublic void returnConnection(ConnectionInfo connectionInfo, ConnectionReturnAction connectionReturnAction)
returnConnection in interface ConnectionInterceptorpublic void destroy()
destroy in interface ConnectionInterceptorpublic void afterCompletion(java.lang.Object stuff)
afterCompletion in interface ConnectionReleaserpublic void info(java.lang.StringBuilder s)
info in interface ConnectionInterceptorCopyright © 2003-2016 The Apache Software Foundation. All Rights Reserved.