Class LegacyJmsRecoveryResourceHandler
- java.lang.Object
-
- com.sun.enterprise.connectors.jms.system.LegacyJmsRecoveryResourceHandler
-
- All Implemented Interfaces:
RecoveryResourceHandler
@Service public class LegacyJmsRecoveryResourceHandler extends Object implements RecoveryResourceHandler
Recovery Handler for JMS Resources
-
-
Constructor Summary
Constructors Constructor Description LegacyJmsRecoveryResourceHandler()
-
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 recoveryboolean
isJMSConnectionFactory(ExternalJndiResource resType_)
void
loadXAResourcesAndItsConnections(List xaresList, List connList)
load xa-resource instances for recovery
-
-
-
Method Detail
-
loadXAResourcesAndItsConnections
public void loadXAResourcesAndItsConnections(List xaresList, List connList)
Description copied from interface:RecoveryResourceHandler
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)
Description copied from interface:RecoveryResourceHandler
close the connections that were used to provide xa-resources for recovery- Specified by:
closeConnections
in interfaceRecoveryResourceHandler
- Parameters:
connList
- list of connections
-
isJMSConnectionFactory
public boolean isJMSConnectionFactory(ExternalJndiResource resType_)
-
-