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
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-2010 Apache Software Foundation. All Rights Reserved.