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 java.lang.Object implements com.arjuna.ats.jta.recovery.XAResourceRecoveryHelperSimple 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 Summary
Constructors Constructor Description XAResourceRecoveryHelperWrapper(org.jboss.tm.XAResourceRecovery xaResourceRecovery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.transaction.xa.XAResource[]getXAResources()inthashCode()booleaninitialise(java.lang.String p)
-
-
-
Method Detail
-
initialise
public boolean initialise(java.lang.String p) throws java.lang.Exception- Specified by:
initialisein interfacecom.arjuna.ats.jta.recovery.XAResourceRecoveryHelper- Throws:
java.lang.Exception
-
getXAResources
public javax.transaction.xa.XAResource[] getXAResources() throws java.lang.Exception- Specified by:
getXAResourcesin interfacecom.arjuna.ats.jta.recovery.XAResourceRecoveryHelper- Throws:
java.lang.Exception
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-