org.apache.geronimo.connector.outbound
Class ThreadLocalCachingConnectionInterceptor
java.lang.Object
org.apache.geronimo.connector.outbound.ThreadLocalCachingConnectionInterceptor
- All Implemented Interfaces:
- ConnectionInterceptor
public class ThreadLocalCachingConnectionInterceptor
- extends Object
- implements ConnectionInterceptor
- Version:
- $Rev: 585608 $ $Date: 2007-10-17 13:56:54 -0400 (Wed, 17 Oct 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalCachingConnectionInterceptor
public ThreadLocalCachingConnectionInterceptor(ConnectionInterceptor next,
boolean matchConnections)
getConnection
public void getConnection(ConnectionInfo connectionInfo)
throws ResourceException
- Specified by:
getConnection in interface ConnectionInterceptor
- Throws:
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-2009 The Apache Software Foundation. All Rights Reserved.