Package com.ibm.fhir.persistence
Interface FHIRPersistenceFactory
- 
- All Known Implementing Classes:
 FHIRPersistenceJDBCFactory
public interface FHIRPersistenceFactoryThis interface defines a factory which serves up instances of FHIRPersistence implementations. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FHIRPersistencegetInstance()Returns an instance of a concrete implementation of the FHIRPersistence interface.default FHIRPayloadPersistencegetPayloadPersistence()Returns an instance of a concrete implementation of the FHIRPayloadPersistence interface which may be used by FHIRPersistence implementations to handle storage and retrieval of FHIR resource payloads. 
 - 
 
- 
- 
Method Detail
- 
getInstance
FHIRPersistence getInstance() throws FHIRPersistenceException
Returns an instance of a concrete implementation of the FHIRPersistence interface.- Throws:
 FHIRPersistenceException
 
- 
getPayloadPersistence
default FHIRPayloadPersistence getPayloadPersistence() throws FHIRPersistenceException
Returns an instance of a concrete implementation of the FHIRPayloadPersistence interface which may be used by FHIRPersistence implementations to handle storage and retrieval of FHIR resource payloads.- Returns:
 - the concrete implementation
 - Throws:
 FHIRPersistenceException
 
 - 
 
 -