Package jakarta.resource.spi
Interface ValidatingManagedConnectionFactory
- 
 public interface ValidatingManagedConnectionFactoryThis interface is implemented by aManagedConnectionFactoryinstance that supports the ability to validateManagedConnectionobjects.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 aSetof size one( with theManagedConnectionthat has to be tested for validity as the only member of theSet.- Version:
- 1.0
- Author:
- Ram Jeyaraman
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SetgetInvalidConnections(Set connectionSet)This method returns a set of invalidManagedConnectionobjects chosen from a specified set ofManagedConnectionobjects.
 
- 
- 
- 
Method Detail- 
getInvalidConnectionsSet getInvalidConnections(Set connectionSet) throws ResourceException This method returns a set of invalidManagedConnectionobjects chosen from a specified set ofManagedConnectionobjects.- Parameters:
- connectionSet- a set of- ManagedConnectionobjects that need to be validated.
- Returns:
- a set of invalid ManagedConnectionobjects.
- Throws:
- ResourceException- generic exception.
 
 
- 
 
-