Class Hl7v3ClientFactory
java.lang.Object
org.openehealth.ipf.commons.ihe.ws.JaxWsClientFactory<AuditDatasetType>
org.openehealth.ipf.commons.ihe.ws.JaxWsRequestClientFactory<Hl7v3AuditDataset>
org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3ClientFactory
Factory for HL7 v3 Web Service clients.
- Author:
- Dmytro Rud
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsClientFactory
auditContext, auditStrategy, clientPool, correlator, customInterceptors, features, httpClientPolicy, POOL_SIZE_PROPERTY, properties, securityInformation, serviceUrl, wsTransactionConfiguration
-
Constructor Summary
ConstructorDescriptionHl7v3ClientFactory
(Hl7v3WsTransactionConfiguration wsTransactionConfiguration, String serviceUrl, AuditStrategy<Hl7v3AuditDataset> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, List<AbstractFeature> features, Map<String, Object> properties, AsynchronyCorrelator<Hl7v3AuditDataset> correlator, WsSecurityInformation securityInformation, org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy) Constructs the factory. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureInterceptors
(Client client) Configures SOAP interceptors for the given client.Methods inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsClientFactory
configureProperties, getClient, getWsTransactionConfiguration, installPayloadInterceptors, restoreClient
-
Constructor Details
-
Hl7v3ClientFactory
public Hl7v3ClientFactory(Hl7v3WsTransactionConfiguration wsTransactionConfiguration, String serviceUrl, AuditStrategy<Hl7v3AuditDataset> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, List<AbstractFeature> features, Map<String, Object> properties, AsynchronyCorrelator<Hl7v3AuditDataset> correlator, WsSecurityInformation securityInformation, org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy) Constructs the factory.- Parameters:
wsTransactionConfiguration
- the info about the Web Service.serviceUrl
- the URL of the Web Service.auditStrategy
- the audit strategy to use.correlator
- optional asynchrony correlator.customInterceptors
- user-defined custom CXF interceptors.
-
-
Method Details
-
configureInterceptors
Description copied from class:JaxWsClientFactory
Configures SOAP interceptors for the given client.- Overrides:
configureInterceptors
in classJaxWsRequestClientFactory<Hl7v3AuditDataset>
-