Top Description Methods
javax.resource.spi

public Interface DissociatableManagedConnection

Imports
javax.resource.ResourceException

This is a mix-in interface that may be optionally implemented by a ManagedConnection implementation. An implementation of this interface must support the lazy connection association optimization.
Author
Ram Jeyaraman
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public void
dissociateConnections()

This method is called by an application server (that is capable of lazy connection association optimization) in order to dissociate a ManagedConnection instance from all of its connection handles.

Method Detail

dissociateConnectionsback to summary
public void dissociateConnections() throws ResourceException

This method is called by an application server (that is capable of lazy connection association optimization) in order to dissociate a ManagedConnection instance from all of its connection handles.

Exceptions
ResourceException:
generic exception if operation fails.
ResourceAdapterInternalException:
resource adapter internal error condition
IllegalStateException:
Illegal state for dissociating a ManagedConnection from all of its connection handles.