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 Modifier and Type Field Description protected AsynchronyCorrelator<AuditDatasetType>
correlator
-
Fields inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
auditContext, auditStrategy, customInterceptors, rejectionHandlingStrategy, serviceAddress, wsTransactionConfiguration
-
-
Constructor Summary
Constructors Constructor Description JaxWsAsyncResponseServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, AsynchronyCorrelator<AuditDatasetType> correlator)
Constructs the factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureInterceptors(ServerFactoryBean svrFactory)
Called to configure any interceptors of the service.-
Methods inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
createServerFactory, createServerFactory
-
-
-
-
Field Detail
-
correlator
protected final AsynchronyCorrelator<AuditDatasetType extends WsAuditDataset> correlator
-
-
Constructor Detail
-
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 Detail
-
configureInterceptors
protected void configureInterceptors(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.
-
-