Class FHIRUserTransactionFactory

  • All Implemented Interfaces:
    FHIRTransactionFactory

    public class FHIRUserTransactionFactory
    extends java.lang.Object
    implements FHIRTransactionFactory
    Factory implementation for creating new instances of FHIRTransactionImpl referencing a given UserTransaction object
    • Constructor Detail

      • FHIRUserTransactionFactory

        public FHIRUserTransactionFactory​(javax.transaction.UserTransaction tx,
                                          javax.transaction.TransactionSynchronizationRegistry syncReg,
                                          FHIRPersistenceJDBCCache cache,
                                          java.lang.String transactionDataKey,
                                          java.util.function.Consumer<java.lang.Boolean> afterTransactionHandler)
        Public constructor
        Parameters:
        tx -
        syncReg -
        cache -
        transactionDataKey -
        afterTransactionHandler - a handler called after the transaction completes (true == committed; false == rolled back)