@Service public class ThirdPartyRecoveryResourceHandler extends Object implements RecoveryResourceHandler
| Constructor and Description |
|---|
ThirdPartyRecoveryResourceHandler() |
| 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 RecoveryResourceHandlerxaresList - 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 RecoveryResourceHandlerconnList - list of connectionsCopyright © 2019. All rights reserved.