Interface TransactionSynchronizationRegistryLookup


public interface TransactionSynchronizationRegistryLookup
Author:
Stuart Douglas If we are in a JTA transaction that tx.commit has already been called and we are invoked as part of a interposed synchronization, we need to use the TransactionSynchronizationRegistry to register any further needed synchronizations. This interface is how we will lookup the TransactionSynchronizationRegistry. Although, in most cases, we will already have it injected via some other means (avoiding a JNDI lookup). See ISPN-1168 for more details.
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.transaction.TransactionSynchronizationRegistry
    Returns a new TransactionSynchronizationRegistry.
  • Method Details

    • getTransactionSynchronizationRegistry

      javax.transaction.TransactionSynchronizationRegistry getTransactionSynchronizationRegistry() throws Exception
      Returns a new TransactionSynchronizationRegistry.
      Throws:
      Exception - if lookup failed