Class ThirdPartyRecoveryResourceHandler
- java.lang.Object
-
- com.sun.enterprise.resource.recovery.ThirdPartyRecoveryResourceHandler
-
- All Implemented Interfaces:
RecoveryResourceHandler
@Service public class ThirdPartyRecoveryResourceHandler extends Object implements RecoveryResourceHandler
RecoveryResourceHandler for third party resources- Author:
- Jagadish Ramu
-
-
Constructor Summary
Constructors Constructor Description ThirdPartyRecoveryResourceHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public void loadXAResourcesAndItsConnections(List xaresList, List connList)
load xa-resource instances for recovery- Specified by:
loadXAResourcesAndItsConnections
in interfaceRecoveryResourceHandler
- 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
public void closeConnections(List connList)
close the connections that were used to provide xa-resources for recovery- Specified by:
closeConnections
in interfaceRecoveryResourceHandler
- Parameters:
connList
- list of connections
-
-