Package org.linuxforhealth.fhir.config
Class TenantSpecificPropertyGroupCache
- java.lang.Object
-
- org.linuxforhealth.fhir.core.TenantSpecificFileBasedCache<PropertyGroup>
-
- org.linuxforhealth.fhir.config.TenantSpecificPropertyGroupCache
-
public class TenantSpecificPropertyGroupCache extends TenantSpecificFileBasedCache<PropertyGroup>
This class implements a tenant-specific cache that holds PropertyGroup objects (i.e. FHIR Server configuration information). Each cache entry holds the in-memory representation of the fhir-server-config.json file found for a particular tenant.
-
-
Constructor Summary
Constructors Constructor Description TenantSpecificPropertyGroupCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyGroup
createCachedObject(java.io.File f)
java.lang.String
getCacheEntryFilename(java.lang.String tenantId)
-
Methods inherited from class org.linuxforhealth.fhir.core.TenantSpecificFileBasedCache
clearCache, getCachedObjectForTenant
-
-
-
-
Method Detail
-
getCacheEntryFilename
public java.lang.String getCacheEntryFilename(java.lang.String tenantId)
- Specified by:
getCacheEntryFilename
in classTenantSpecificFileBasedCache<PropertyGroup>
-
createCachedObject
public PropertyGroup createCachedObject(java.io.File f) throws java.lang.Exception
- Specified by:
createCachedObject
in classTenantSpecificFileBasedCache<PropertyGroup>
- Throws:
java.lang.Exception
-
-