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,HasCamelContext,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
ConstructorsConstructorDescriptionCustomFhirComponent(CamelContext context) CustomFhirComponent(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected FhirEndpoint<?, ?> doCreateEndpoint(String uri, FhirEndpointConfiguration<AuditDatasetType> config) Returns a new endpoint instancegetName()booleanisQuery()voidsetDescription(String description) voidsetFhirTransactionConfiguration(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration) voidvoidsetQuery(boolean query) Methods inherited from class org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirComponent
connect, createConfig, createEndpoint, disconnect, getClientAuditStrategy, getInteractionId, getServerAuditStrategy, initializeDefaultFhirContext, isCompatibleContext, setFhirInteractionIdMethods inherited from class org.apache.camel.support.DefaultComponent
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, 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, validateURIMethods inherited from class org.apache.camel.support.service.BaseService
build, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.CamelContextAware
setCamelContextMethods inherited from interface org.apache.camel.Component
createEndpoint, createEndpoint, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, isAutowiredEnabled, useRawUriMethods inherited from interface org.openehealth.ipf.commons.ihe.fhir.FhirInteractionId
initMethods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContextMethods inherited from interface org.openehealth.ipf.platform.camel.ihe.core.InterceptableComponent
getAdditionalConsumerInterceptors, getAdditionalProducerInterceptorsMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods 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:FhirComponentReturns a new endpoint instance- Specified by:
doCreateEndpointin 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:
getFhirTransactionConfigurationin interfaceFhirInteractionId<AuditDatasetType extends FhirAuditDataset>- Overrides:
getFhirTransactionConfigurationin classFhirComponent<AuditDatasetType extends FhirAuditDataset>- Returns:
- component-specific configuration
-
setFhirTransactionConfiguration
public void setFhirTransactionConfiguration(FhirTransactionConfiguration<AuditDatasetType> fhirTransactionConfiguration)
-