|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface RecoveryResourceHandler
RecoveryResourceHandler will be used by transaction-manager to get resource instances.
Using these resource instances, transaction recovery will be done.
All type of (xa)resources will have a resource recovery handler which will be used by
transaction-manager
| Method Summary | |
|---|---|
void |
closeConnections(java.util.List connList)
close the connections that were used to provide xa-resources for recovery |
void |
loadXAResourcesAndItsConnections(java.util.List xaresList,
java.util.List connList)
load xa-resource instances for recovery |
| Method Detail |
|---|
void loadXAResourcesAndItsConnections(java.util.List xaresList,
java.util.List connList)
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.void closeConnections(java.util.List connList)
connList - list of connections
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||