Class XAResourceRecoveryHelperWrapper

  • All Implemented Interfaces:
    com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper

    public class XAResourceRecoveryHelperWrapper
    extends java.lang.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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      javax.transaction.xa.XAResource[] getXAResources()  
      int hashCode()  
      boolean initialise​(java.lang.String p)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XAResourceRecoveryHelperWrapper

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

      • initialise

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object