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
FieldsFields inherited from class org.openehealth.ipf.commons.ihe.ws.JaxWsServiceFactory
auditContext, auditStrategy, customInterceptors, rejectionHandlingStrategy, serviceAddress, wsTransactionConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionJaxWsAsyncResponseServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, AuditContext auditContext, InterceptorProvider customInterceptors, AsynchronyCorrelator<AuditDatasetType> correlator) Constructs the factory. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 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:JaxWsServiceFactoryCalled to configure any interceptors of the service.- Overrides:
configureInterceptorsin classJaxWsServiceFactory<AuditDatasetType extends WsAuditDataset>- Parameters:
svrFactory- the server factory.
-