org.apache.geronimo.connector.outbound
Class TransactionEnlistingInterceptor

java.lang.Object
  extended byorg.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

Version:
1.0

Constructor Summary
TransactionEnlistingInterceptor(ConnectionInterceptor next, org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
           
 
Method Summary
 void destroy()
           
 void getConnection(ConnectionInfo connectionInfo)
           
 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.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionEnlistingInterceptor

public TransactionEnlistingInterceptor(ConnectionInterceptor next,
                                       org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
Method Detail

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 value
connectionReturnAction - a ConnectionReturnAction value

destroy

public void destroy()
Specified by:
destroy in interface ConnectionInterceptor


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.