Class JaxWsAsyncResponseServiceFactory<AuditDatasetType extends WsAuditDataset>
java.lang.Object
org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory<AuditDatasetType>
org.openehealth.ipf.commons.ihe.ws.JaxWsAsyncResponseServiceFactory<AuditDatasetType>
- Direct Known Subclasses:
Hl7v3AsyncResponseServiceFactory
public class JaxWsAsyncResponseServiceFactory<AuditDatasetType extends WsAuditDataset>
extends JaxWsServiceFactory<AuditDatasetType>
Factory for Web Services serving asynchronous responses
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
auditContext, auditStrategy, customInterceptors, rejectionHandlingStrategy, serviceAddress, wsTransactionConfiguration
-
Constructor Summary
ConstructorDescriptionJaxWsAsyncResponseServiceFactory
(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, AsynchronyCorrelator<AuditDatasetType> correlator) 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
-
Field Details
-
correlator
-
-
Constructor Details
-
JaxWsAsyncResponseServiceFactory
public JaxWsAsyncResponseServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, AsynchronyCorrelator<AuditDatasetType> correlator) 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
- server-side ATNA audit strategy.customInterceptors
- user-defined custom CXF interceptors.correlator
- correlator for asynchronous interactions.
-
-
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 classJaxWsServiceFactory<AuditDatasetType extends WsAuditDataset>
- Parameters:
svrFactory
- the server factory.
-