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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionSynchronizationRegistry
getTransactionSynchronizationRegistry()
Returns a new TransactionSynchronizationRegistry.
-
-
-
Method Detail
-
getTransactionSynchronizationRegistry
TransactionSynchronizationRegistry getTransactionSynchronizationRegistry() throws Exception
Returns a new TransactionSynchronizationRegistry.- Throws:
Exception
- if lookup failed
-
-