org.ogf.graap.wsag.api.client
Interface WsClient

All Known Subinterfaces:
AgreementAcceptanceClient, AgreementClient, AgreementFactoryClient, AgreementFactoryRegistryClient, AgreementRegistryService, NegotiationClient
All Known Implementing Classes:
AgreementFactoryFacade, AgreementImpl, LocalAgreementClientImpl, LocalAgreementFactoryClientImpl, LocalAgreementFactoryRegistryImpl, LocalAgreementFactoryServiceImpl, LocalAgreementServiceImpl, LocalNegotiationClientImpl, LocalNegotiationServiceImpl, LocalWsClient, NegotiationClientImpl, RemoteAgreementAcceptanceClientImpl, RemoteAgreementClientImpl, RemoteAgreementFactoryClientImpl, RemoteAgreementFactoryRegistryServiceImpl, RemoteAgreementFactoryServiceImpl, RemoteAgreementRegistryServiceImpl, RemoteNegotiationClientImpl, WsrfResourceClient

public interface WsClient

WsClient

Author:
Oliver Waeldrich

Method Summary
 EndpointReferenceType getEndpoint()
          Returns the endpoint of the client instance.
 Properties getProperties()
          Returns the properties used by the web-service client.
 ISecurityProperties getSecurityProperties()
          Returns the security properties used by the web-service client.
 boolean isUsingTrace()
          Determines whether or not a client prints the web-service messages to the console.
 void setProperties(Properties properties)
          Sets the properties used for the web-service client.
 void setTrace(boolean trace)
          Sets the clients trace mode.
 

Method Detail

getSecurityProperties

ISecurityProperties getSecurityProperties()
Returns the security properties used by the web-service client.

Returns:
the security properties for this client

getProperties

Properties getProperties()
Returns the properties used by the web-service client.

Returns:
a list of properties associated with the client

setProperties

void setProperties(Properties properties)
Sets the properties used for the web-service client.

Parameters:
properties - Sets the properties for this client

getEndpoint

EndpointReferenceType getEndpoint()
Returns the endpoint of the client instance.

Returns:
Returns the endpoint reference for this WS resource.

isUsingTrace

boolean isUsingTrace()
Determines whether or not a client prints the web-service messages to the console.

Returns:
true, if the web service client traces the incoming/outgoing messages.

setTrace

void setTrace(boolean trace)
Sets the clients trace mode.

Parameters:
trace - true, if the web service client should traces incoming/outgoing messages.


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.