org.apache.geronimo.connector.outbound
Class ThreadLocalCachingConnectionInterceptor

java.lang.Object
  extended byorg.apache.geronimo.connector.outbound.ThreadLocalCachingConnectionInterceptor
All Implemented Interfaces:
ConnectionInterceptor

public class ThreadLocalCachingConnectionInterceptor
extends Object
implements ConnectionInterceptor

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
ThreadLocalCachingConnectionInterceptor(ConnectionInterceptor next, boolean matchConnections)
           
 
Method Summary
 void destroy()
           
 void getConnection(ConnectionInfo connectionInfo)
           
 void returnConnection(ConnectionInfo connectionInfo, ConnectionReturnAction connectionReturnAction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalCachingConnectionInterceptor

public ThreadLocalCachingConnectionInterceptor(ConnectionInterceptor next,
                                               boolean matchConnections)
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)
Specified by:
returnConnection in interface ConnectionInterceptor

destroy

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


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