org.objectweb.jotm
Interface TransactionRecovery

All Known Implementing Classes:
TransactionRecoveryImpl

public interface TransactionRecovery


Method Summary
 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.
 

Method Detail

getJotmRecovery

public JotmRecovery getJotmRecovery()

getRmRegistration

public java.util.Vector getRmRegistration()

startResourceManagerRecovery

public void startResourceManagerRecovery()
                                  throws javax.transaction.xa.XAException
Log all the Resource Managers with the JOTM Transaction Manager.

Throws:
javax.transaction.xa.XAException - if an error occurs

registerResourceManager

public void registerResourceManager(java.lang.String rmName,
                                    javax.transaction.xa.XAResource rmXares,
                                    java.lang.String info,
                                    TransactionResourceManager trm)
                             throws javax.transaction.xa.XAException
Register a Resource Manager with the JOTM Transaction Manager.

Parameters:
rmName - The Resource Manager to be registered.
rmXares - XAResource associated with the Resource Manager
info - String of information for display with admin interface
trm - TransactionResourceManager to return the registered XAResource
Throws:
javax.transaction.xa.XAException - if an error occurs

registerResourceManager

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
Added 3/30/05 Register a Resource Manager with the JOTM Transaction Manager with Recovery properties.

Parameters:
rmName - The Resource Manager to be registered.
rmXares - XAResource associated with the Resource Manager
info - String of information for display with admin interface
rmProperties - - Strings specifying recovery properties for resource
trm - TransactionResourceManager to return the registered XAResource
Throws:
javax.transaction.xa.XAException - if an error occurs

reportResourceManager

public javax.transaction.xa.XAResource reportResourceManager(java.lang.String rmName)
                                                      throws javax.transaction.xa.XAException
Provide information regarding the status and state of the XAResource.

Returns:
The XAResource to be reported upon.
Throws:
javax.transaction.xa.XAException - if an error occurs

unregisterResourceManager

public void unregisterResourceManager(java.lang.String rmName,
                                      javax.transaction.xa.XAResource rmXares)
                               throws javax.transaction.xa.XAException
Unregister a Resource Manager from the JOTM Transaction Manager.

Parameters:
rmName - The Resource Manager to be unregistered.
rmXares - XAResource associated with the Resource Manager
Throws:
javax.transaction.xa.XAException - if an error occurs

forget

public void forget()
            throws org.objectweb.howl.log.LogException,
                   java.lang.Exception
Throws:
org.objectweb.howl.log.LogException
java.lang.Exception