public class JaxWsServiceFactory<AuditDatasetType extends WsAuditDataset> extends Object
Modifier and Type | Field and Description |
---|---|
protected AuditContext |
auditContext |
protected AuditStrategy<AuditDatasetType> |
auditStrategy
Server-side ATNA audit strategy.
|
protected org.apache.cxf.interceptor.InterceptorProvider |
customInterceptors
User-defined custom CXF interceptors.
|
protected WsRejectionHandlingStrategy |
rejectionHandlingStrategy
User-defined strategy for handling rejected messages.
|
protected String |
serviceAddress
Service endpoint address.
|
protected WsTransactionConfiguration<AuditDatasetType> |
wsTransactionConfiguration
Transaction configuration.
|
Constructor and Description |
---|
JaxWsServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration,
String serviceAddress,
AuditStrategy<AuditDatasetType> auditStrategy,
AuditContext auditContext,
org.apache.cxf.interceptor.InterceptorProvider customInterceptors,
WsRejectionHandlingStrategy rejectionHandlingStrategy)
Constructs the factory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureInterceptors(org.apache.cxf.frontend.ServerFactoryBean svrFactory)
Called to configure any interceptors of the service.
|
org.apache.cxf.frontend.ServerFactoryBean |
createServerFactory(Class<?> serviceImplClass)
Creates and configures a server factory.
|
org.apache.cxf.frontend.ServerFactoryBean |
createServerFactory(Object serviceImpl) |
protected final WsTransactionConfiguration<AuditDatasetType extends WsAuditDataset> wsTransactionConfiguration
protected final String serviceAddress
protected final org.apache.cxf.interceptor.InterceptorProvider customInterceptors
protected final WsRejectionHandlingStrategy rejectionHandlingStrategy
protected final AuditStrategy<AuditDatasetType extends WsAuditDataset> auditStrategy
protected final AuditContext auditContext
public JaxWsServiceFactory(WsTransactionConfiguration<AuditDatasetType> wsTransactionConfiguration, String serviceAddress, AuditStrategy<AuditDatasetType> auditStrategy, AuditContext auditContext, org.apache.cxf.interceptor.InterceptorProvider customInterceptors, WsRejectionHandlingStrategy rejectionHandlingStrategy)
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.rejectionHandlingStrategy
- user-defined rejection handling strategy.public org.apache.cxf.frontend.ServerFactoryBean createServerFactory(Class<?> serviceImplClass)
serviceImplClass
- the type of the service implementation.public org.apache.cxf.frontend.ServerFactoryBean createServerFactory(Object serviceImpl)
protected void configureInterceptors(org.apache.cxf.frontend.ServerFactoryBean svrFactory)
svrFactory
- the server factory.Copyright © 2018 Open eHealth Foundation. All rights reserved.