Class Hl7v3ServiceFactory
java.lang.Object
org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory<AuditDatasetType>
org.openehealth.ipf.commons.ihe.ws.JaxWsRequestServiceFactory<Hl7v3AuditDataset>
org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3ServiceFactory
Factory for HL7 v3 Web Services.
- Author:
- Dmytro Rud
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
auditContext, auditStrategy, customInterceptors, rejectionHandlingStrategy, serviceAddress, wsTransactionConfiguration
-
Constructor Summary
ConstructorDescriptionHl7v3ServiceFactory
(Hl7v3WsTransactionConfiguration wsTransactionConfiguration, String serviceAddress, AuditStrategy<Hl7v3AuditDataset> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, WsRejectionHandlingStrategy rejectionHandlingStrategy) Constructs the factory. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureInterceptors
(org.apache.cxf.frontend.ServerFactoryBean svrFactory) Called to configure any interceptors of the service.Methods inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
createServerFactory, createServerFactory
-
Constructor Details
-
Hl7v3ServiceFactory
public Hl7v3ServiceFactory(Hl7v3WsTransactionConfiguration wsTransactionConfiguration, String serviceAddress, AuditStrategy<Hl7v3AuditDataset> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, WsRejectionHandlingStrategy rejectionHandlingStrategy) Constructs the factory.- Parameters:
wsTransactionConfiguration
- the info about the service to produce.serviceAddress
- the address of the service that it should be published with.auditStrategy
- the auditing strategy to use.customInterceptors
- user-defined custom CXF interceptors.rejectionHandlingStrategy
- user-defined rejection handling strategy.
-
-
Method Details
-
configureInterceptors
protected void configureInterceptors(org.apache.cxf.frontend.ServerFactoryBean svrFactory) Description copied from class:JaxWsServiceFactory
Called to configure any interceptors of the service.- Overrides:
configureInterceptors
in classJaxWsRequestServiceFactory<Hl7v3AuditDataset>
- Parameters:
svrFactory
- the server factory.
-