javax.resource.spi
Interface DissociatableManagedConnection


public interface DissociatableManagedConnection

A marker interface for connections that support the lazy connection association optimization.


Method Summary
 void dissociateConnections()
          Invoked by the application server to dissociate the managed connection from all handles.
 

Method Detail

dissociateConnections

public void dissociateConnections()
                           throws ResourceException (src) 
Invoked by the application server to dissociate the managed connection from all handles.

Throws:
ResourceException (src) - for any error
ResourceAdapterInternalException (src) - for an internal error in the resource adapter
IllegalStateException (src) - if the state cannot be cleaned up, e.g. a transaction is in progress