org.apache.geronimo.connector.outbound
Class TransactionEnlistingInterceptor
java.lang.Object
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor
- All Implemented Interfaces:
- ConnectionInterceptor
public class TransactionEnlistingInterceptor
- extends Object
- implements ConnectionInterceptor
TransactionEnlistingInterceptor.java
Created: Fri Sep 26 14:52:24 2003
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionEnlistingInterceptor
public TransactionEnlistingInterceptor(ConnectionInterceptor next,
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
Copyright © 2012 Apache Software Foundation. All Rights Reserved.