Class TransactionSynchronizationRegistryImple

java.lang.Object
com.arjuna.ats.internal.jta.transaction.jts.TransactionSynchronizationRegistryImple
All Implemented Interfaces:
jakarta.transaction.TransactionSynchronizationRegistry, Serializable, ObjectFactory

public class TransactionSynchronizationRegistryImple extends Object implements jakarta.transaction.TransactionSynchronizationRegistry, Serializable, ObjectFactory
Implementation of the TransactionSynchronizationRegistry interface, in line with the JTA 1.1 specification.
Author:
jonathan.halliday@jboss.com
See Also:
  • Constructor Details

    • TransactionSynchronizationRegistryImple

      public TransactionSynchronizationRegistryImple()
  • Method Details

    • getObjectInstance

      public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
      Specified by:
      getObjectInstance in interface ObjectFactory
      Throws:
      Exception
    • getTransactionKey

      public Object getTransactionKey()
      Specified by:
      getTransactionKey in interface jakarta.transaction.TransactionSynchronizationRegistry
    • putResource

      public void putResource(Object key, Object value)
      Specified by:
      putResource in interface jakarta.transaction.TransactionSynchronizationRegistry
    • getResource

      public Object getResource(Object key)
      Specified by:
      getResource in interface jakarta.transaction.TransactionSynchronizationRegistry
    • registerInterposedSynchronization

      public void registerInterposedSynchronization(jakarta.transaction.Synchronization synchronization)
      Specified by:
      registerInterposedSynchronization in interface jakarta.transaction.TransactionSynchronizationRegistry
    • getTransactionStatus

      public int getTransactionStatus()
      Specified by:
      getTransactionStatus in interface jakarta.transaction.TransactionSynchronizationRegistry
    • setRollbackOnly

      public void setRollbackOnly()
      Specified by:
      setRollbackOnly in interface jakarta.transaction.TransactionSynchronizationRegistry
    • getRollbackOnly

      public boolean getRollbackOnly()
      Specified by:
      getRollbackOnly in interface jakarta.transaction.TransactionSynchronizationRegistry