javax.resource.spi
Interface LazyAssociatableConnectionManager
public interface LazyAssociatableConnectionManager
- Since:
- 1.5
- Version:
- $Rev: 806898 $ $Date: 2009-08-22 18:11:25 -0400 (Sat, 22 Aug 2009) $
associateConnection
void associateConnection(Object connection,
ManagedConnectionFactory mcf,
ConnectionRequestInfo cxReqInfo)
throws ResourceException
- request the connection be associated with an appropriate ManagedConnection
- Parameters:
connection - connection that needs MC backupmcf - managed connection factory to use, if necessary, to get the MCcxReqInfo - more info on what MC to get
- Throws:
ResourceException - on error
inactiveConnectionClosed
void inactiveConnectionClosed(Object connection,
ManagedConnectionFactory managedConnectionFactory)
- To be called by the resource adapter
- Parameters:
connection - connection the RA closedmanagedConnectionFactory - MCF that connection is associated with- Since:
- 1.6
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.