Class FHIRTestTransactionFactory
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.connection.FHIRTestTransactionFactory
-
- All Implemented Interfaces:
FHIRTransactionFactory
public class FHIRTestTransactionFactory extends java.lang.Object implements FHIRTransactionFactory
Factory/strategy to instantiate FHIRTestTransactionHandler implementations of theFHIRPersistenceTransaction
interface. Typically used to support unit-tests
-
-
Constructor Summary
Constructors Constructor Description FHIRTestTransactionFactory(IConnectionProvider cp)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPersistenceTransaction
create()
Create a new instance ofFHIRPersistenceTransaction
-
-
-
Constructor Detail
-
FHIRTestTransactionFactory
public FHIRTestTransactionFactory(IConnectionProvider cp)
Public constructor- Parameters:
cp
- theIConnectionProvider
-
-
Method Detail
-
create
public FHIRPersistenceTransaction create()
Description copied from interface:FHIRTransactionFactory
Create a new instance ofFHIRPersistenceTransaction
- Specified by:
create
in interfaceFHIRTransactionFactory
- Returns:
-
-