public abstract class BaseServiceClient extends Object
| Modifier and Type | Field and Description |
|---|---|
private DiscoveryService |
discoveryService
Holds a reference to the discovery service that provided the epr.
|
private static Logger |
log |
private List<EndpointReference> |
serviceEndpointReferenceStore
The EndpointReferences that are used to invoke the service.
|
private boolean |
signingOutgoingMessages
Indicates whether outgoing messages should be signed.
|
| Constructor and Description |
|---|
BaseServiceClient(DiscoveryService discoveryService,
EndpointReference initialEndpointReference)
The base constructor requires a DiscoverService parameter.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryService |
getDiscoveryService()
Returns the DS Client that was used to get an EPR to the service
extending BaseServiceClient
|
EndpointReference |
getServiceEndpointReference()
Get the ID-WSF 2.0 EndpointReference for the Service that will be invoked.
|
List<EndpointReference> |
getServiceEndpointReferenceStore()
Returns the full list of stored EPRs
|
boolean |
isSigningOutgoingMessages()
Indicates whether or not outgoing messages will be signed.
|
void |
replaceServiceEndpointReference(EndpointReference serviceEndPointReference)
This method clears out the epr chain and sets it to the specified epr
|
boolean |
serviceExplicitlySupportsOption(String optionUri)
Test to see whether the Service has registered support for the
specified Service
|
void |
setDiscoveryService(DiscoveryService discoveryService)
Used to explicitly set the DS
|
void |
setServiceEndpointReference(EndpointReference serviceEndPointReference)
Set the ID-WSF 2.0 Endpoint Reference for the Service that will be invoked.
|
void |
setSigningOutgoingMessages(boolean signingOutgoingMessages)
Sets whether outgoing messages should be signed.
|
private static Logger log
private DiscoveryService discoveryService
private List<EndpointReference> serviceEndpointReferenceStore
private boolean signingOutgoingMessages
public BaseServiceClient(DiscoveryService discoveryService, EndpointReference initialEndpointReference)
discoveryService - public void replaceServiceEndpointReference(EndpointReference serviceEndPointReference)
serviceEndPointReference - public void setServiceEndpointReference(EndpointReference serviceEndPointReference)
serviceEndPointReference - public EndpointReference getServiceEndpointReference()
public List<EndpointReference> getServiceEndpointReferenceStore()
public boolean isSigningOutgoingMessages()
public void setSigningOutgoingMessages(boolean signingOutgoingMessages)
signingOutgoingMessages - public boolean serviceExplicitlySupportsOption(String optionUri)
optionUri - public DiscoveryService getDiscoveryService()
public void setDiscoveryService(DiscoveryService discoveryService)
discoveryService - Copyright © 1999–2015. All rights reserved.