Class RecoveryManagerService

java.lang.Object
com.arjuna.ats.jbossatx.jta.RecoveryManagerService
All Implemented Interfaces:
org.jboss.tm.XAResourceRecoveryRegistry
Direct Known Subclasses:
RecoveryManagerService

public class RecoveryManagerService extends Object implements org.jboss.tm.XAResourceRecoveryRegistry
JBoss Transaction Recovery Service.
Version:
$Id$
Author:
Jonathan Halliday (jonathan.halliday@redhat.com)
  • Constructor Details

    • RecoveryManagerService

      public RecoveryManagerService()
  • Method Details

    • create

      public void create()
    • destroy

      public void destroy()
    • start

      public void start()
    • stop

      public void stop() throws Exception
      Throws:
      Exception
    • suspend

      public void suspend()
    • resume

      public void resume()
    • addXAResourceRecovery

      public void addXAResourceRecovery(org.jboss.tm.XAResourceRecovery xaResourceRecovery)
      Description copied from interface: org.jboss.tm.XAResourceRecoveryRegistry
      Register an XAResourceRecovery instance with the transaction recovery system. This should be called by deployers that are deploying a new XA aware module that needs recovery support. For example, a database connection pool, JMS adapter or JCA connector.
      Specified by:
      addXAResourceRecovery in interface org.jboss.tm.XAResourceRecoveryRegistry
      Parameters:
      xaResourceRecovery - The XAResourceRecovery instance to register.
    • removeXAResourceRecovery

      public void removeXAResourceRecovery(org.jboss.tm.XAResourceRecovery xaResourceRecovery)
      Description copied from interface: org.jboss.tm.XAResourceRecoveryRegistry
      Unregister an XAResourceRecovery instance from the transaction recovery system. This should be called when an XA aware module is undeployed, to inform the recovery system that recovery is no longer required or supported. Note this method may block whilst an ongoing recovery operation is completed. Recovery behavior is undefined if the undeployment does not wait for this operation to complete.
      Specified by:
      removeXAResourceRecovery in interface org.jboss.tm.XAResourceRecoveryRegistry
      Parameters:
      xaResourceRecovery - The XAResourceRecovery instance to unregister. Implementations should fail silent if an attempt is made to unregister an XAResourceRecovery instance that is not currently registered.
    • addSerializableXAResourceDeserializer

      public void addSerializableXAResourceDeserializer(SerializableXAResourceDeserializer serializableXAResourceDeserializer)