org.objectweb.jotm
Interface TransactionRecovery
- TransactionRecoveryImpl
public interface TransactionRecovery
forget
public void forget()
throws LogException,
Exception
getRmRegistration
public Vector getRmRegistration()
registerResourceManager
public void registerResourceManager(String rmName,
XAResource rmXares,
String info,
TransactionResourceManager trm)
throws XAException
Register a Resource Manager with the JOTM Transaction Manager.
rmName
- The Resource Manager to be registered.rmXares
- XAResource associated with the Resource Managerinfo
- String of information for display with admin interfacetrm
- TransactionResourceManager to return the registered XAResource
reportResourceManager
public XAResource reportResourceManager(String rmName)
throws XAException
Provide information regarding the status and state of the XAResource.
- The XAResource to be reported upon.
startResourceManagerRecovery
public void startResourceManagerRecovery()
throws XAException
Log all the Resource Managers with the JOTM Transaction Manager.
unregisterResourceManager
public void unregisterResourceManager(String rmName,
XAResource rmXares)
throws XAException
Unregister a Resource Manager from the JOTM Transaction Manager.
rmName
- The Resource Manager to be unregistered.rmXares
- XAResource associated with the Resource Manager