Class AgroalOrderedLastSynchronizationList

java.lang.Object
io.quarkus.narayana.jta.runtime.internal.tsr.AgroalOrderedLastSynchronizationList
All Implemented Interfaces:
jakarta.transaction.Synchronization

public class AgroalOrderedLastSynchronizationList extends Object implements jakarta.transaction.Synchronization
  • Constructor Details

  • Method Details

    • registerInterposedSynchronization

      public void registerInterposedSynchronization(jakarta.transaction.Synchronization synchronization)
      Register an interposed synchronization. Note that synchronizations are not allowed if:

      Parameters:
      synchronization - The synchronization to register
      Throws:
      IllegalStateException - if the transaction is in the wrong state:
      1. the transaction has already prepared;
      2. the transaction is marked rollback only
      3. the group that the synchronization should belong to has already been processed
    • beforeCompletion

      public void beforeCompletion()
      Exceptions from beforeCompletion Synchronizations are not caught because such errors should cause the transaction to roll back.
      Specified by:
      beforeCompletion in interface jakarta.transaction.Synchronization
    • afterCompletion

      public void afterCompletion(int status)
      Specified by:
      afterCompletion in interface jakarta.transaction.Synchronization