public interface ValidatingManagedConnectionFactoryThis interface is implemented by a
ManagedConnectionFactoryinstance that supports the ability to validate
This may be used by the application server to prune invalid
ManagedConnectionobjects from its connection pool.
The application server may use this functionality to test the validity of a
ManagedConnectionby passing in a
Setof size one( with the
ManagedConnectionthat has to be tested for validity as the only member of the
java.util.Set getInvalidConnections(java.util.Set connectionSet) throws ResourceExceptionThis method returns a set of invalid
ManagedConnectionobjects chosen from a specified set of
connectionSet- a set of
ManagedConnectionobjects that need to be validated.
- a set of invalid
ResourceException- generic exception.