Class XAResourceRecoveryHelperWrapper

java.lang.Object
com.arjuna.ats.internal.jbossatx.jta.XAResourceRecoveryHelperWrapper
All Implemented Interfaces:
com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper

public class XAResourceRecoveryHelperWrapper extends Object implements com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper
Simple adaptor class that converts the JBossAS transaction integration SPI version of the recovery interface (org.jboss.tm.XAResourceRecovery) into the ArjunaJTA version (com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper) so it can then be registered with the Recovery system (XARecoveryModule)
Author:
Jonathan Halliday (jonathan.halliday@redhat.com)
  • Constructor Details

    • XAResourceRecoveryHelperWrapper

      public XAResourceRecoveryHelperWrapper(org.jboss.tm.XAResourceRecovery xaResourceRecovery)
  • Method Details

    • initialise

      public boolean initialise(String p) throws Exception
      Specified by:
      initialise in interface com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper
      Throws:
      Exception
    • getXAResources

      public XAResource[] getXAResources() throws Exception
      Specified by:
      getXAResources in interface com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper
      Throws:
      Exception
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object