Class AbstractWsComponent<AuditDatasetType extends WsAuditDataset,ConfigType extends WsTransactionConfiguration<AuditDatasetType>,InteractionIdType extends WsInteractionId<ConfigType>>
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.ws.AbstractWsComponent<AuditDatasetType,ConfigType,InteractionIdType>
- Type Parameters:
AuditDatasetType
- audit typeConfigType
- configuration type
- All Implemented Interfaces:
AutoCloseable
,CamelContextAware
,Component
,Service
,ShutdownableService
,StatefulService
,SuspendableService
,AuditableComponent<AuditDatasetType>
- Direct Known Subclasses:
AbstractHl7v2WsComponent
,ChAdrComponent
,ChCiddComponent
,ChCiqComponent
,ChPiddComponent
,ChPpq1Component
,ChPpq2Component
,Hl7v3Component
,Iti58Component
,Iti59Component
,Iti79Component
,XdsComponent
public abstract class AbstractWsComponent<AuditDatasetType extends WsAuditDataset,ConfigType extends WsTransactionConfiguration<AuditDatasetType>,InteractionIdType extends WsInteractionId<ConfigType>>
extends org.apache.camel.support.DefaultComponent
implements AuditableComponent<AuditDatasetType>
Base component class for Web Service-based IHE components.
- Author:
- Dmytro Rud
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected AuditContext
getAuditContext
(Map<String, Object> parameters) Returns client-side audit strategy instance.protected InterceptorProvider
getCustomInterceptors
(Map<String, Object> parameters) protected List<AbstractFeature>
getFeatures
(Map<String, Object> parameters) protected org.apache.cxf.transports.http.configuration.HTTPClientPolicy
getHttpClientPolicy
(Map<String, Object> parameters) getProperties
(Map<String, Object> parameters) getSchemaLocations
(Map<String, Object> parameters) Returns server-side audit strategy instance.Methods inherited from class org.apache.camel.support.DefaultComponent
afterConfiguration, createEndpoint, 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.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
-
AbstractWsComponent
-
-
Method Details
-
getInteractionId
-
getCustomInterceptors
-
getAuditContext
-
getFeatures
-
getSchemaLocations
-
getProperties
-
getHttpClientPolicy
-
getClientAuditStrategy
Description copied from interface:AuditableComponent
Returns client-side audit strategy instance.- Specified by:
getClientAuditStrategy
in interfaceAuditableComponent<AuditDatasetType extends WsAuditDataset>
- Returns:
- client-side audit strategy instance
-
getServerAuditStrategy
Description copied from interface:AuditableComponent
Returns server-side audit strategy instance.- Specified by:
getServerAuditStrategy
in interfaceAuditableComponent<AuditDatasetType extends WsAuditDataset>
- Returns:
- server-side audit strategy instance
-
getWsTransactionConfiguration
- Returns:
- static configuration parameters of the Web Service which server endpoints of this transaction.
-