Class FhirComponentWithOptions<AuditDatasetType extends FhirAuditDataset,O extends Enum<O> & FhirTransactionOptions,P extends FhirTransactionOptionsProvider<FhirQueryAuditDataset,O>>
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultComponent
org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirComponent<AuditDatasetType>
org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirComponentWithOptions<AuditDatasetType,O,P>
- All Implemented Interfaces:
AutoCloseable
,CamelContextAware
,Component
,Service
,ShutdownableService
,StatefulService
,SuspendableService
,AuditableComponent<AuditDatasetType>
,InterceptableComponent
- Direct Known Subclasses:
Iti66Component
,Iti67Component
,Pcc44Component
public abstract class FhirComponentWithOptions<AuditDatasetType extends FhirAuditDataset,O extends Enum<O> & FhirTransactionOptions,P extends FhirTransactionOptionsProvider<FhirQueryAuditDataset,O>>
extends FhirComponent<AuditDatasetType>
Base class for FHIR components offering a options and optionsProvider endpoint parameters
- Since:
- 4.1
- Author:
- Christian Ohr
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ConstructorDescriptionFhirComponentWithOptions
(CamelContext context, FhirInteractionId<AuditDatasetType> fhirInteractionId, Supplier<P> optionsProviderSupplier) FhirComponentWithOptions
(FhirInteractionId<AuditDatasetType> fhirInteractionId, Supplier<P> optionsProviderSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected FhirEndpointConfiguration<AuditDatasetType>
createConfig
(String remaining, Map<String, Object> parameters) Methods inherited from class org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirComponent
connect, createEndpoint, disconnect, doCreateEndpoint, getClientAuditStrategy, getFhirTransactionConfiguration, getInteractionId, getServerAuditStrategy, initializeDefaultFhirContext, isCompatibleContext, setFhirInteractionId
Methods inherited from class org.apache.camel.support.DefaultComponent
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
Methods inherited from class org.apache.camel.support.service.BaseService
build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
Methods inherited from interface org.apache.camel.Component
createEndpoint, createEndpoint, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, isAutowiredEnabled, useRawUri
Methods inherited from interface org.openehealth.ipf.platform.camel.ihe.core.InterceptableComponent
getAdditionalConsumerInterceptors, getAdditionalProducerInterceptors
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
FhirComponentWithOptions
public FhirComponentWithOptions(FhirInteractionId<AuditDatasetType> fhirInteractionId, Supplier<P> optionsProviderSupplier) -
FhirComponentWithOptions
public FhirComponentWithOptions(CamelContext context, FhirInteractionId<AuditDatasetType> fhirInteractionId, Supplier<P> optionsProviderSupplier)
-
-
Method Details
-
createConfig
protected FhirEndpointConfiguration<AuditDatasetType> createConfig(String remaining, Map<String, Object> parameters) throws Exception- Overrides:
createConfig
in classFhirComponent<AuditDatasetType extends FhirAuditDataset>
- Throws:
Exception
-