Interface TransactionSynchronizationRegistry


public interface TransactionSynchronizationRegistry
The TransactionSynchronizationRegistry.
Author:
Manfred Riem ([email protected])
  • Method Details

    • getResource

      Object getResource(Object key)
      Returns the resource.
      Parameters:
      key - the key.
      Returns:
      the resource
    • getRollbackOnly

      boolean getRollbackOnly()
      Has rollback only been set?
      Returns:
      true if it is, false otherwise.
    • getTransactionKey

      Object getTransactionKey()
      Returns the transaction key.
      Returns:
      the transaction key
    • getTransactionStatus

      int getTransactionStatus()
      Returns the transaction status.
      Returns:
      the transaction status
    • putResource

      void putResource(Object key, Object value)
      Put the resource.
      Parameters:
      key - the key.
      value - the value.
    • registerInterposedSynchronization

      void registerInterposedSynchronization(Synchronization synchronization)
      Register for interposed synchronization.
      Parameters:
      synchronization - the interposed synchronization.
    • setRollbackOnly

      void setRollbackOnly()
      Set for rollback only.