Class FHIRPersistenceInterceptorMgr


  • public class FHIRPersistenceInterceptorMgr
    extends java.lang.Object
    This class implements the FHIR persistence interceptor framework. This framework allows users to inject business logic into the REST API request processing code path at various points. Interceptors are discovered using the jdk's ServiceLoader class. To register an interceptor implementation, develop a class that implements the FHIRPersistenceInterceptor interface, and then insert your implementation class name into a file called META-INF/services/org.linuxforhealth.fhir.server.spi.interceptor.FHIRPersistenceInterceptor and store that file in your jar. These "interceptor" jars should be stored in a common place defined by the FHIR Server.