org.apache.geronimo.connector.outbound
Class TransactionEnlistingInterceptor
java.lang.Object
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor
- All Implemented Interfaces:
- ConnectionInterceptor
public class TransactionEnlistingInterceptor
- extends java.lang.Object
- implements ConnectionInterceptor
TransactionEnlistingInterceptor.java
Created: Fri Sep 26 14:52:24 2003
- Version:
- 1.0
|
Field Summary |
protected static org.slf4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.slf4j.Logger log
TransactionEnlistingInterceptor
public TransactionEnlistingInterceptor(ConnectionInterceptor next,
javax.transaction.TransactionManager transactionManager)
getConnection
public void getConnection(ConnectionInfo connectionInfo)
throws javax.resource.ResourceException
- Specified by:
getConnection in interface ConnectionInterceptor
- Throws:
javax.resource.ResourceException
returnConnection
public void returnConnection(ConnectionInfo connectionInfo,
ConnectionReturnAction connectionReturnAction)
- The
returnConnection method
todo Probably the logic needs improvement if a connection
error occurred and we are destroying the handle.
- Specified by:
returnConnection in interface ConnectionInterceptor
- Parameters:
connectionInfo - a ConnectionInfo valueconnectionReturnAction - a ConnectionReturnAction value
destroy
public void destroy()
- Specified by:
destroy in interface ConnectionInterceptor
info
public void info(java.lang.StringBuilder s)
- Specified by:
info in interface ConnectionInterceptor
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.