javax.resource.spi
Interface LazyAssociatableConnectionManager


public interface LazyAssociatableConnectionManager

An optioanl mixin interface for connection managers that support the lazy connection association optimization.


Method Summary
 void associateConnection(Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo)
          Invoked by a resource adapter to lazily associate a connection handle with the managed connection
 

Method Detail

associateConnection

void associateConnection(Object connection,
                         ManagedConnectionFactory mcf,
                         ConnectionRequestInfo cxReqInfo)
                         throws ResourceException
Invoked by a resource adapter to lazily associate a connection handle with the managed connection

Parameters:
connection - the connection handle
mcf - the managed connection factory
cxRequestInfo - the connection request info
Throws:
ResourceException - for an generic error
ApplicationServerInternalException - for problems in the application server
SecurityException - for security problems
ResourceAllocationException - for problems allocating resources
ResourceAdapterInternalException - for errors from the resource adapter


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.