ConnectionManager implementation. An implementation of
this interface must support the lazy connection association optimization.
| Modifier and Type | Method and Description |
|---|---|
| public void | associateConnection(Object
the connection object that is to be associated. connection, ManagedConnectionFactory The mcf, ConnectionRequestInfo ManagedConnectionFactory instance that was
originally used to create the connection object.connection request information. This information must
be the same as that used to originally create the connection object. 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 |
| public void | inactiveConnectionClosed(Object
the disassociated connection object handle that
has been closed connection, ManagedConnectionFactory The mcf)ManagedConnectionFactory instance that was
originally used to create the connection object.This method is called by the resource adapter (that is capable of lazy connection association optimization) in order to notify the application server that a disassociated connection handle is closed. |
| associateConnection | back to summary |
|---|---|
| public void associateConnection(Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo) throws ResourceException 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
| |
| inactiveConnectionClosed | back to summary |
|---|---|
| public void inactiveConnectionClosed(Object connection, ManagedConnectionFactory mcf) This method is called by the resource adapter (that is capable of lazy connection association optimization) in order to notify the application server that a disassociated connection handle is closed. The application server can then perform any cleanup operations related to the disassociated connection handle in its connection pool.
| |