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,HasCamelContext,StatefulService,SuspendableService,AuditableComponent<AuditDatasetType>
- Direct Known Subclasses:
AbstractHl7v2WsComponent,ChAdrComponent,ChCiddComponent,ChCiqComponent,ChPiddComponent,ChPpq1Component,ChPpq2Component,Hl7v3Component,Iti48Component,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AuditContextgetAuditContext(Map<String, Object> parameters) Returns client-side audit strategy instance.protected InterceptorProvidergetCustomInterceptors(Map<String, Object> parameters) protected List<AbstractFeature> getFeatures(Map<String, Object> parameters) protected org.apache.cxf.transports.http.configuration.HTTPClientPolicygetHttpClientPolicy(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, 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.apache.camel.spi.HasCamelContext
getCamelContextMethods 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
-
AbstractWsComponent
-
-
Method Details
-
getInteractionId
-
getCustomInterceptors
-
getAuditContext
-
getFeatures
-
getSchemaLocations
-
getProperties
-
getHttpClientPolicy
-
getClientAuditStrategy
Description copied from interface:AuditableComponentReturns client-side audit strategy instance.- Specified by:
getClientAuditStrategyin interfaceAuditableComponent<AuditDatasetType extends WsAuditDataset>- Returns:
- client-side audit strategy instance
-
getServerAuditStrategy
Description copied from interface:AuditableComponentReturns server-side audit strategy instance.- Specified by:
getServerAuditStrategyin 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.
-