Class SimpleTransactionProvider
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.transaction.SimpleTransactionProvider
-
- All Implemented Interfaces:
ITransactionProvider
public class SimpleTransactionProvider extends java.lang.Object implements ITransactionProvider
Simple Transaction Wrapper and provider
-
-
Constructor Summary
Constructors Constructor Description SimpleTransactionProvider(IConnectionProvider cp)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITransaction
getTransaction()
Obtain the transaction to use on this thread
-
-
-
Constructor Detail
-
SimpleTransactionProvider
public SimpleTransactionProvider(IConnectionProvider cp)
Public constructor- Parameters:
cp
-
-
-
Method Detail
-
getTransaction
public ITransaction getTransaction()
Description copied from interface:ITransactionProvider
Obtain the transaction to use on this thread- Specified by:
getTransaction
in interfaceITransactionProvider
- Returns:
-
-