Interface RecoveryResourceHandler
-
- All Known Implementing Classes:
ConnectorsRecoveryResourceHandler
,InboundRecoveryHandler
,JdbcRecoveryResourceHandler
,LegacyJmsRecoveryResourceHandler
,ThirdPartyRecoveryResourceHandler
@Contract public interface RecoveryResourceHandler
RecoveryResourceHandler will be used by transaction-manager to get resource instances.
Using these resource instances, transaction recovery will be done.
All type of (xa)resources will have a resource recovery handler which will be used by transaction-manager- Author:
- Jagadish Ramu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeConnections(List connList)
close the connections that were used to provide xa-resources for recoveryvoid
loadXAResourcesAndItsConnections(List xaresList, List connList)
load xa-resource instances for recovery
-
-
-
Method Detail
-
loadXAResourcesAndItsConnections
void loadXAResourcesAndItsConnections(List xaresList, List connList)
load xa-resource instances for recovery- Parameters:
xaresList
- List of xa-resources, populate it with the xa-capable resources that needs recoveryconnList
- populate it with connections used to provide these xa-resources, if any. Transaction-recovery will call close the connections in connList once recovery is over.
-
closeConnections
void closeConnections(List connList)
close the connections that were used to provide xa-resources for recovery- Parameters:
connList
- list of connections
-
-