javax.resource.spi.LazyAssociatableConnectionManager
.public interface ConnectionManager
extends javax.resource.spi.ConnectionManager
Modifier and Type | Method and Description |
---|---|
void |
associateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
java.lang.Object connection)
Deprecated.
AssociateConnection should be called by the ResourceAdapter before any work is done on an inactive
Connection.
|
void |
inactiveConnectionClosed(java.lang.Object connection)
Deprecated.
Method inactiveConnectionClosed is called by the ResourceAdapter when an inactiveConnection is closed.
|
void associateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri, java.lang.Object connection) throws javax.resource.ResourceException
mcf
- The ManagedConnectionFactory that may be used to create a new ManagedConnection (usually one
will be found in the pool).subject
- The Subject for this connection.cri
- The connection request specific info (this may include UserName & Password).connection
- The Connection handle that should be associated with a valid ManagedConnection.javax.resource.ResourceException
void inactiveConnectionClosed(java.lang.Object connection)
connection
- The Connection handle that was closed.