|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.jotm.TransactionRecoveryImpl
| Constructor Summary | |
TransactionRecoveryImpl()
Default constructor. |
|
| Method Summary | |
void |
forget()
close Transaction Recovery Log |
JotmRecovery |
getJotmRecovery()
|
java.util.Vector |
getRmRegistration()
|
static TransactionRecoveryImpl |
getTransactionRecovery()
Returns the unique instance of the class or null if not
initialized in case of plain client. |
org.objectweb.howl.log.xa.XACommittingTx |
howlCommitLog(byte[][] xaCmRec)
write the Commit record to the Howl Log |
void |
howlDoneLog(byte[][] xaDnRec,
org.objectweb.howl.log.xa.XACommittingTx xaCmTx)
write the Done record to the Howl Log |
void |
recoverResourceManager()
Recover a Resource Manager with the JOTM Transaction Manager. |
void |
registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
java.util.Properties rmProperties,
TransactionResourceManager trm)
Register a Resource Manager with the JOTM Transaction Manager. |
void |
registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
TransactionResourceManager tranrm)
Register a Resource Manager with the JOTM Transaction Manager. |
javax.transaction.xa.XAResource |
reportResourceManager(java.lang.String rmName)
Provide information regarding the status and state of the XAResource. |
void |
startResourceManagerRecovery()
Log (in Howl) every Resource Manager (XAResource) that has been registered. |
void |
unregisterResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares)
Unregister a Resource Manager from the JOTM Transaction Manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransactionRecoveryImpl()
throws org.objectweb.howl.log.LogException,
java.io.IOException,
java.lang.Exception
| Method Detail |
public static TransactionRecoveryImpl getTransactionRecovery()
null if not
initialized in case of plain client.
TransactionRecovery object createdpublic JotmRecovery getJotmRecovery()
getJotmRecovery in interface TransactionRecoverypublic java.util.Vector getRmRegistration()
getRmRegistration in interface TransactionRecovery
public void registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
java.util.Properties rmProperties,
TransactionResourceManager trm)
throws javax.transaction.xa.XAException
registerResourceManager in interface TransactionRecoveryrmName - The Resource Manager to be registered.rmXares - XAResource associated with the Resource Managerinfo - String of information for display with admin interfacermProperties - - Strings specifying recovery properties for resourcetrm - TransactionResourceManager to return the registered XAResource
javax.transaction.xa.XAException - if an error occurs
public void registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
TransactionResourceManager tranrm)
throws javax.transaction.xa.XAException
TransactionRecovery
registerResourceManager in interface TransactionRecoveryrmName - The Resource Manager to be registered.rmXares - XAResource associated with the Resource Managerinfo - String of information for display with admin interfacetranrm - TransactionResourceManager to return the registered XAResource
javax.transaction.xa.XAException - if an error occurs
public javax.transaction.xa.XAResource reportResourceManager(java.lang.String rmName)
throws javax.transaction.xa.XAException
reportResourceManager in interface TransactionRecoveryrmName - The Resource Manager to be reported upon.
javax.transaction.xa.XAException - if an error occurs
public void unregisterResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares)
throws javax.transaction.xa.XAException
unregisterResourceManager in interface TransactionRecoveryrmName - The Resource Manager to be unregistered.rmXares - XAResource associated with the Resource Manager
javax.transaction.xa.XAException - if an error occurs
public void startResourceManagerRecovery()
throws javax.transaction.xa.XAException
startResourceManagerRecovery in interface TransactionRecoveryjavax.transaction.xa.XAException - Thrown if the transaction manager
encounters an unexpected error condition
public void recoverResourceManager()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException - Thrown if the transaction manager
encounters an unexpected error condition
public org.objectweb.howl.log.xa.XACommittingTx howlCommitLog(byte[][] xaCmRec)
throws org.objectweb.howl.log.LogException,
java.lang.Exception
org.objectweb.howl.log.LogException
java.lang.Exception
public void howlDoneLog(byte[][] xaDnRec,
org.objectweb.howl.log.xa.XACommittingTx xaCmTx)
throws org.objectweb.howl.log.LogException,
java.lang.Exception
org.objectweb.howl.log.LogException
java.lang.Exception
public void forget()
throws org.objectweb.howl.log.LogException,
java.lang.Exception
forget in interface TransactionRecoveryorg.objectweb.howl.log.LogException
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||