Package org.linuxforhealth.fhir.audit
Class AuditLogServiceFactory
- java.lang.Object
-
- org.linuxforhealth.fhir.audit.AuditLogServiceFactory
-
public class AuditLogServiceFactory extends java.lang.Object
Instantiates and returns an implementation of the FHIR server audit log service.
-
-
Constructor Summary
Constructors Constructor Description AuditLogServiceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditLogService
getService()
Returns the AuditLogService to be used by all FHIR server components.static AuditLogService
resetService()
Resets the singleton instance of the audit logger service object that is cached by this factory class, then creates, caches, and returns a new service object instance.
-
-
-
Method Detail
-
getService
public static AuditLogService getService()
Returns the AuditLogService to be used by all FHIR server components.- Returns:
- AuditLogService
- Throws:
AuditLoggingException
-
resetService
public static AuditLogService resetService()
Resets the singleton instance of the audit logger service object that is cached by this factory class, then creates, caches, and returns a new service object instance.- Returns:
- AuditLogService - The newly cached audit log service object.
- Throws:
AuditLoggingException
-
-