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 Summary
Constructors Constructor Description XAResourceRecoveryHelperWrapper(org.jboss.tm.XAResourceRecovery xaResourceRecovery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)XAResource[]getXAResources()inthashCode()booleaninitialise(String p)
-
-
-
Method Detail
-
initialise
public boolean initialise(String p) throws Exception
- Specified by:
initialisein interfacecom.arjuna.ats.jta.recovery.XAResourceRecoveryHelper- Throws:
Exception
-
getXAResources
public XAResource[] getXAResources() throws Exception
- Specified by:
getXAResourcesin interfacecom.arjuna.ats.jta.recovery.XAResourceRecoveryHelper- Throws:
Exception
-
-