Interface FHIRPersistenceFactory
-
- All Known Implementing Classes:
FHIRPersistenceJDBCBlobFactory,FHIRPersistenceJDBCCassandraFactory,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(SearchHelper searchHelper)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(SearchHelper searchHelper) throws FHIRPersistenceException
Returns an instance of a concrete implementation of the FHIRPersistence interface.- Parameters:
searchHelper- a helper for processing search requests- 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
-
-