Class AbstractWsComponent<AuditDatasetType extends WsAuditDataset>
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>
- Type Parameters:
AuditDatasetType- audit type
- All Implemented Interfaces:
AutoCloseable, CamelContextAware, Component, Service, ShutdownableService, HasCamelContext, StatefulService, SuspendableService, AuditableComponent<AuditDatasetType>, InteractionAwareComponent
- Direct Known Subclasses:
AbstractHl7v2WsComponent, ChAdrComponent, ChCiddComponent, ChCiqComponent, ChPiddComponent, ChPpq1Component, ChPpq2Component, Ech0213Component, Ech0214Component, Hl7v3Component, Iti48Component, Iti58Component, Iti59Component, Iti79Component, XdsComponent
public abstract class AbstractWsComponent<AuditDatasetType extends WsAuditDataset>
extends org.apache.camel.support.DefaultComponent
implements AuditableComponent<AuditDatasetType>, InteractionAwareComponent
Base component class for Web Service-based IHE components.
- Author:
- Dmytro Rud
-
Field Summary
Fields inherited from class 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 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CamelContextAware
setCamelContextMethods inherited from interface Component
createEndpoint, createEndpoint, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, isAutowiredEnabled, useRawUriMethods inherited from interface HasCamelContext
getCamelContextMethods inherited from interface ShutdownableService
shutdownMethods inherited from interface StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
AbstractWsComponent
-
-
Method Details
-
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.
-
getInteractionId
- Specified by:
getInteractionIdin interfaceInteractionAwareComponent- Returns:
- the ID of the eHealth transaction served by this component.
-