Package jakarta.resource.spi
Interface DissociatableManagedConnection
-
public interface DissociatableManagedConnectionThis is a mix-in interface that may be optionally implemented by aManagedConnectionimplementation. An implementation of this interface must support the lazy connection association optimization.- Version:
- 1.0
- Author:
- Ram Jeyaraman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddissociateConnections()This method is called by an application server (that is capable of lazy connection association optimization) in order to dissociate aManagedConnectioninstance from all of its connection handles.
-
-
-
Method Detail
-
dissociateConnections
void dissociateConnections() throws ResourceExceptionThis method is called by an application server (that is capable of lazy connection association optimization) in order to dissociate aManagedConnectioninstance from all of its connection handles.- Throws:
ResourceException- generic exception if operation fails.ResourceAdapterInternalException- resource adapter internal error conditionIllegalStateException- Illegal state for dissociating aManagedConnectionfrom all of its connection handles.
-
-