Class JaxWsAsyncResponseServiceFactory<AuditDatasetType extends WsAuditDataset>
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory<AuditDatasetType>
-
- org.openehealth.ipf.commons.ihe.ws.JaxWsAsyncResponseServiceFactory<AuditDatasetType>
-
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, org.openehealth.ipf.commons.audit.AuditContext auditContext, org.apache.cxf.interceptor.InterceptorProvider customInterceptors, AsynchronyCorrelator<AuditDatasetType> correlator)Constructs the factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureInterceptors(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 Detail
-
correlator
protected final AsynchronyCorrelator<AuditDatasetType extends WsAuditDataset> correlator
-
-
Constructor Detail
-
JaxWsAsyncResponseServiceFactory
public JaxWsAsyncResponseServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, org.openehealth.ipf.commons.audit.AuditContext auditContext, org.apache.cxf.interceptor.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(org.apache.cxf.frontend.ServerFactoryBean svrFactory)
Description copied from class:JaxWsServiceFactoryCalled to configure any interceptors of the service.- Overrides:
configureInterceptorsin classJaxWsServiceFactory<AuditDatasetType extends WsAuditDataset>- Parameters:
svrFactory- the server factory.
-
-