Class InboundRecoveryHandler
- java.lang.Object
-
- com.sun.enterprise.connectors.inbound.InboundRecoveryHandler
-
- All Implemented Interfaces:
RecoveryResourceHandler
@Service public class InboundRecoveryHandler extends Object implements RecoveryResourceHandler
Recovery handler for Inbound transactions- Author:
- Jagadish Ramu
-
-
Constructor Summary
Constructors Constructor Description InboundRecoveryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseConnections(List connList)close the connections that were used to provide xa-resources for recoveryvoidloadXAResourcesAndItsConnections(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:
loadXAResourcesAndItsConnectionsin 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:
closeConnectionsin interfaceRecoveryResourceHandler- Parameters:
connList- list of connections
-
-