@Contract
public interface RecoveryResourceHandler
Modifier and Type | Method and Description |
---|---|
void |
closeConnections(List connList)
close the connections that were used to provide xa-resources for recovery
|
void |
loadXAResourcesAndItsConnections(List xaresList,
List connList)
load xa-resource instances for recovery
|
void loadXAResourcesAndItsConnections(List xaresList, List connList)
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.void closeConnections(List connList)
connList
- list of connectionsCopyright © 2018. All rights reserved.