Interface TransactionSynchronizationRegistryLookup

  • public interface TransactionSynchronizationRegistryLookup
    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 Detail

      • getTransactionSynchronizationRegistry

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