Package fr.paris.lutece.util.sql
Interface ITransactionSynchronizationManager
- All Known Implementing Classes:
TransactionSynchronizationManager
public interface ITransactionSynchronizationManager
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if a managed transaction is currently activeRegisters a synchronization to the current managed transaction
-
Method Details
-
isSynchronizationActive
boolean isSynchronizationActive()Determines if a managed transaction is currently active- Returns:
- The synchronization availability
-
registerSynchronization
TransactionSynchronizationContext registerSynchronization(TransactionSynchronizationContext context) throws SQLException Registers a synchronization to the current managed transaction- Parameters:
context- The synchronization context- Throws:
SQLException
-