javax.resource.spi
Interface LazyAssociatableConnectionManager
- public interface LazyAssociatableConnectionManager
An optioanl mixin interface for connection managers that support the lazy connection
association optimization.
associateConnection
public void associateConnection(java.lang.Object connection,
ManagedConnectionFactory (src) mcf,
ConnectionRequestInfo (src) cxReqInfo)
throws ResourceException (src)
- Invoked by a resource adapter to lazily associate a connection handle with the managed connection
- Parameters:
connection - the connection handlemcf - the managed connection factory
- Throws:
ResourceException (src) - for an generic error
ApplicationServerInternalException (src) - for problems in the application server
SecurityException (src) - for security problems
ResourceAllocationException (src) - for problems allocating resources
ResourceAdapterInternalException (src) - for errors from the resource adapter