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 TypeMethodDescriptionboolean
hasServlet
(String servletName) Returns true if there is already a registered FHIR servlet with the provided namevoid
register
(RestfulServer servlet) Registers the FHIR servlet, usually during its init phase.void
Registers the FHIR resource provider.void
unregister
(RestfulServer servlet) Unregisters the FHIR servlet, usually during its destroy phasevoid
unregister
(Object resourceProvider) Unregisters the FHIR resource provider.
-
Method Details
-
register
Registers the FHIR resource provider.- Parameters:
resourceProvider
- resource provider
-
unregister
Unregisters the FHIR resource provider.- Parameters:
resourceProvider
- resource provider
-
register
Registers the FHIR servlet, usually during its init phase.- Parameters:
servlet
- FHIR servlet
-
unregister
Unregisters the FHIR servlet, usually during its destroy phase- Parameters:
servlet
- FHIR servlet
-
hasServlet
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
-