Class AbstractResourceProvider
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirProvider
org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
org.openehealth.ipf.commons.ihe.fhir.AbstractResourceProvider
- All Implemented Interfaces:
IResourceProvider
,Serializable
- Direct Known Subclasses:
AbstractPcc44ResourceProvider
,Iti105DocumentReferenceResourceProvider
public abstract class AbstractResourceProvider
extends AbstractPlainProvider
implements IResourceProvider
Abstract resource provider that allows subclasses to forward the received payload into the
Camel route served by the consumer.
Note that this can be subclassed for writing
resource-specific providers, while plain providers should extend from AbstractPlainProvider
.
Also note that there can be only one AbstractResourceProvider per resource type served by the FHIR servlet. As this does not necessarily fit the modular approach of IHE transaction endpoints, it is recommended to derive resource providers from AbstractPlainProvider instead.
- Since:
- 3.1
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider
getFhirContext, getRequestConsumer, requestAction, requestBundle, requestBundleProvider, requestResource, setConsumer, unsetConsumer
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.FhirProvider
enrichParameters, requiresDeregistration, requiresRegistration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.rest.server.IResourceProvider
getResourceType
-
Constructor Details
-
AbstractResourceProvider
public AbstractResourceProvider()
-