@Service public class InboundRecoveryHandler extends Object implements RecoveryResourceHandler
Constructor and Description |
---|
InboundRecoveryHandler() |
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
|
public void loadXAResourcesAndItsConnections(List xaresList, List connList)
loadXAResourcesAndItsConnections
in interface RecoveryResourceHandler
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.public void closeConnections(List connList)
closeConnections
in interface RecoveryResourceHandler
connList
- list of connectionsCopyright © 2021. All rights reserved.