public class JaxWsClientFactory<AuditDatasetType extends WsAuditDataset> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AuditStrategy<AuditDatasetType> |
auditStrategy |
protected AsynchronyCorrelator<AuditDatasetType> |
correlator |
protected org.apache.cxf.interceptor.InterceptorProvider |
customInterceptors |
protected List<org.apache.cxf.feature.AbstractFeature> |
features |
protected Map<String,Object> |
properties |
protected String |
serviceUrl |
protected ThreadLocal<Object> |
threadLocalPort |
protected WsTransactionConfiguration |
wsTransactionConfiguration |
| Constructor and Description |
|---|
JaxWsClientFactory(WsTransactionConfiguration wsTransactionConfiguration,
String serviceUrl,
AuditStrategy<AuditDatasetType> auditStrategy,
org.apache.cxf.interceptor.InterceptorProvider customInterceptors,
List<org.apache.cxf.feature.AbstractFeature> features,
Map<String,Object> properties,
AsynchronyCorrelator<AuditDatasetType> correlator)
Constructs the factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureInterceptors(org.apache.cxf.endpoint.Client client)
Configures SOAP interceptors for the given client.
|
protected void |
configureProperties(org.apache.cxf.endpoint.Client client) |
Object |
getClient() |
Object |
getClient(Supplier<WsSecurityInformation> securityInformationSupplier)
Returns a client stub for the web-service.
|
WsTransactionConfiguration |
getWsTransactionConfiguration() |
protected static void |
installPayloadInterceptors(org.apache.cxf.endpoint.Client client)
Helper method for installing of payload-collecting SOAP interceptors
for the given Client.
|
protected final ThreadLocal<Object> threadLocalPort
protected final WsTransactionConfiguration wsTransactionConfiguration
protected final String serviceUrl
protected final org.apache.cxf.interceptor.InterceptorProvider customInterceptors
protected final List<org.apache.cxf.feature.AbstractFeature> features
protected final AuditStrategy<AuditDatasetType extends WsAuditDataset> auditStrategy
protected final AsynchronyCorrelator<AuditDatasetType extends WsAuditDataset> correlator
public JaxWsClientFactory(WsTransactionConfiguration wsTransactionConfiguration, String serviceUrl, AuditStrategy<AuditDatasetType> auditStrategy, org.apache.cxf.interceptor.InterceptorProvider customInterceptors, List<org.apache.cxf.feature.AbstractFeature> features, Map<String,Object> properties, AsynchronyCorrelator<AuditDatasetType> correlator)
wsTransactionConfiguration - the info about the Web Service.serviceUrl - the URL of the Web Service.auditStrategy - client-side ATNA audit strategy.customInterceptors - user-defined custom CXF interceptors.correlator - optional asynchrony correlator.public Object getClient(Supplier<WsSecurityInformation> securityInformationSupplier)
securityInformationSupplier - Conduit-related security information or null if no security shall be setpublic Object getClient()
public WsTransactionConfiguration getWsTransactionConfiguration()
protected void configureInterceptors(org.apache.cxf.endpoint.Client client)
protected void configureProperties(org.apache.cxf.endpoint.Client client)
protected static void installPayloadInterceptors(org.apache.cxf.endpoint.Client client)
Copyright © 2018 Open eHealth Foundation. All rights reserved.