public interface TransactionRecovery
Modifier and Type | Method and Description |
---|---|
void |
forget() |
JotmRecovery |
getJotmRecovery() |
java.util.Vector |
getRmRegistration() |
void |
registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
java.util.Properties rmProperties,
TransactionResourceManager trm)
Added 3/30/05
Register a Resource Manager with the JOTM Transaction Manager with Recovery properties.
|
void |
registerResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares,
java.lang.String info,
TransactionResourceManager trm)
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 all the Resource Managers with the JOTM Transaction Manager.
|
void |
unregisterResourceManager(java.lang.String rmName,
javax.transaction.xa.XAResource rmXares)
Unregister a Resource Manager from the JOTM Transaction Manager.
|
JotmRecovery getJotmRecovery()
java.util.Vector getRmRegistration()
void startResourceManagerRecovery() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
- if an error occursvoid registerResourceManager(java.lang.String rmName, javax.transaction.xa.XAResource rmXares, java.lang.String info, TransactionResourceManager trm) throws javax.transaction.xa.XAException
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 XAResourcejavax.transaction.xa.XAException
- if an error occursvoid 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
rmName
- 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 XAResourcejavax.transaction.xa.XAException
- if an error occursjavax.transaction.xa.XAResource reportResourceManager(java.lang.String rmName) throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
- if an error occursvoid unregisterResourceManager(java.lang.String rmName, javax.transaction.xa.XAResource rmXares) throws javax.transaction.xa.XAException
rmName
- The Resource Manager to be unregistered.rmXares
- XAResource associated with the Resource Managerjavax.transaction.xa.XAException
- if an error occursvoid forget() throws org.objectweb.howl.log.LogException, java.lang.Exception
org.objectweb.howl.log.LogException
java.lang.Exception