javax.resource.spi
Interface LazyAssociatableConnectionManager


public interface LazyAssociatableConnectionManager

Since:
1.5
Version:
$Rev: 806898 $ $Date: 2009-08-23 00:11:25 +0200 (So, 23. Aug 2009) $

Method Summary
 void associateConnection(Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo)
          request the connection be associated with an appropriate ManagedConnection
 void inactiveConnectionClosed(Object connection, ManagedConnectionFactory managedConnectionFactory)
          To be called by the resource adapter
 

Method Detail

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 backup
mcf - managed connection factory to use, if necessary, to get the MC
cxReqInfo - 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 closed
managedConnectionFactory - MCF that connection is associated with
Since:
1.6


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.