Class CustomFhirComponent<AuditDatasetType extends FhirAuditDataset>
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.custom.CustomFhirComponent<AuditDatasetType>
- All Implemented Interfaces:
AutoCloseable
,CamelContextAware
,Component
,Service
,ShutdownableService
,StatefulService
,SuspendableService
,InteractionId
,FhirInteractionId<AuditDatasetType>
,AuditableComponent<AuditDatasetType>
,InterceptableComponent
public class CustomFhirComponent<AuditDatasetType extends FhirAuditDataset>
extends FhirComponent<AuditDatasetType>
implements FhirInteractionId<AuditDatasetType>
- Since:
- 3.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
ConstructorDescriptionCustomFhirComponent
(CamelContext context) CustomFhirComponent
(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected FhirEndpoint<?,
?> doCreateEndpoint
(String uri, FhirEndpointConfiguration<AuditDatasetType> config) Returns a new endpoint instancegetName()
boolean
isQuery()
void
setDescription
(String description) void
setFhirTransactionConfiguration
(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration) void
void
setQuery
(boolean query) Methods inherited from class org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirComponent
connect, createConfig, createEndpoint, disconnect, getClientAuditStrategy, 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.commons.ihe.fhir.FhirInteractionId
init
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
-
CustomFhirComponent
public CustomFhirComponent() -
CustomFhirComponent
-
CustomFhirComponent
public CustomFhirComponent(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration)
-
-
Method Details
-
doCreateEndpoint
protected FhirEndpoint<?,?> doCreateEndpoint(String uri, FhirEndpointConfiguration<AuditDatasetType> config) Description copied from class:FhirComponent
Returns a new endpoint instance- Specified by:
doCreateEndpoint
in classFhirComponent<AuditDatasetType extends FhirAuditDataset>
- Parameters:
uri
- the endpoint URIconfig
- FhirEndpointConfiguration- Returns:
- a new endpoint instance
-
getName
-
setName
-
getDescription
-
setDescription
-
isQuery
public boolean isQuery() -
setQuery
public void setQuery(boolean query) -
getFhirTransactionConfiguration
- Specified by:
getFhirTransactionConfiguration
in interfaceFhirInteractionId<AuditDatasetType extends FhirAuditDataset>
- Overrides:
getFhirTransactionConfiguration
in classFhirComponent<AuditDatasetType extends FhirAuditDataset>
- Returns:
- component-specific configuration
-
setFhirTransactionConfiguration
public void setFhirTransactionConfiguration(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration)
-