Interface FhirRegistry

All Known Implementing Classes:
DefaultFhirRegistry

public interface FhirRegistry
Keeps track of RequestConsumer and IpfFhirServlet and connects them to each other.
Since:
3.2
Author:
Christian Ohr
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasServlet(String servletName)
    Returns true if there is already a registered FHIR servlet with the provided name
    void
    Registers the FHIR servlet, usually during its init phase.
    void
    register(Object resourceProvider)
    Registers the FHIR resource provider.
    void
    Unregisters the FHIR servlet, usually during its destroy phase
    void
    unregister(Object resourceProvider)
    Unregisters the FHIR resource provider.
  • Method Details

    • register

      void register(Object resourceProvider)
      Registers the FHIR resource provider.
      Parameters:
      resourceProvider - resource provider
    • unregister

      void unregister(Object resourceProvider)
      Unregisters the FHIR resource provider.
      Parameters:
      resourceProvider - resource provider
    • register

      void register(RestfulServer servlet)
      Registers the FHIR servlet, usually during its init phase.
      Parameters:
      servlet - FHIR servlet
    • unregister

      void unregister(RestfulServer servlet)
      Unregisters the FHIR servlet, usually during its destroy phase
      Parameters:
      servlet - FHIR servlet
    • hasServlet

      boolean hasServlet(String servletName)
      Returns true if there is already a registered FHIR servlet with the provided name
      Parameters:
      servletName - name of the servlet
      Returns:
      true if there is already a registered FHIR servlet with this name