FileDocCategorySizeDatePackage
LazyAssociatableConnectionManager.javaAPI DocGlassfish v2 API3680Fri May 04 22:35:36 BST 2007javax.resource.spi

LazyAssociatableConnectionManager

public interface LazyAssociatableConnectionManager
This is a mix-in interface that may be optionally implemented by a ConnectionManager implementation. An implementation of this interface must support the lazy connection association optimization.
version
1.0
author
Ram Jeyaraman

Fields Summary
Constructors Summary
Methods Summary
public voidassociateConnection(java.lang.Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo)
This method is called by a resource adapter (that is capable of lazy connection association optimization) in order to lazily associate a connection object with a ManagedConnection instance.

param
connection the connection object that is to be associated.
param
mcf The ManagedConnectionFactory instance that was originally used to create the connection object.
param
cxReqInfo connection request information. This information must be the same as that used to originally create the connection object.
throws
ResourceException Generic exception.
throws
ApplicationServerInternalException Application server specific exception.
throws
SecurityException Security related error.
throws
ResourceAllocationException Failed to allocate system resources for connection request.
throws
ResourceAdapterInternalException Resource adapter related error condition.