FileDocCategorySizeDatePackage
DissociatableManagedConnection.javaAPI DocGlassfish v2 API3051Fri May 04 22:35:36 BST 2007javax.resource.spi

DissociatableManagedConnection

public interface DissociatableManagedConnection
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.
version
1.0
author
Ram Jeyaraman

Fields Summary
Constructors Summary
Methods Summary
public voiddissociateConnections()
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.

throws
ResourceException generic exception if operation fails.
throws
ResourceAdapterInternalException resource adapter internal error condition
throws
IllegalStateException Illegal state for calling connection cleanup. Example - if a localtransaction is in progress that doesn't allow connection cleanup.