org.apache.geronimo.connector.outbound
Interface ConnectionInterceptor
- All Known Implementing Classes:
- AbstractSinglePoolConnectionInterceptor, ConnectionHandleInterceptor, ConnectionTrackingInterceptor, LocalXAResourceInsertionInterceptor, LogXAResourceInsertionInterceptor, MCFConnectionInterceptor, MultiPoolConnectionInterceptor, SinglePoolConnectionInterceptor, SinglePoolMatchAllConnectionInterceptor, SubjectInterceptor, TCCLInterceptor, ThreadLocalCachingConnectionInterceptor, TransactionCachingInterceptor, TransactionEnlistingInterceptor, XAResourceInsertionInterceptor
public interface ConnectionInterceptor
ConnectionInterceptor is the interface implemented by
ConnectionManager "aspects". A ConnectionInterceptor
implementation can provide one step of functionality for obtaining
or releasing a ManagedConnection.
getConnection
void getConnection(ConnectionInfo connectionInfo)
throws ResourceException
- Throws:
ResourceException
returnConnection
void returnConnection(ConnectionInfo connectionInfo,
ConnectionReturnAction connectionReturnAction)
destroy
void destroy()
Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.