public interface ValidatingManagedConnectionFactory
ManagedConnectionFactoryinstance that supports the ability to validate
This may be used by the application server to prune invalid
ManagedConnection objects from its connection pool.
The application server may use this functionality to test the
validity of a
ManagedConnection by passing in a
Set of size one( with the
that has to be tested for validity as the only member of the
|Modifier and Type||Method and Description|
This method returns a set of invalid
Set getInvalidConnections(Set connectionSet) throws ResourceException
ManagedConnectionobjects chosen from a specified set of
connectionSet- a set of
ManagedConnectionobjects that need to be validated.
ResourceException- generic exception.
Copyright © 2019 JBoss by Red Hat. All rights reserved.