org.ogf.graap.wsag.client.local
Class LocalWsClient

java.lang.Object
  extended by org.ogf.graap.wsag.client.local.LocalWsClient
All Implemented Interfaces:
WsClient
Direct Known Subclasses:
LocalAgreementFactoryRegistryImpl, LocalAgreementFactoryServiceImpl, LocalAgreementServiceImpl, LocalNegotiationServiceImpl

public class LocalWsClient
extends Object
implements WsClient

Default implementation of a WS client for local access. Internal use only.

Author:
Oliver Waeldrich

Constructor Summary
LocalWsClient()
          Default constructor
 
Method Summary
 EndpointReferenceType getEndpoint()
          returns a dummy EPR for this agreement.
 Properties getProperties()
          Returns the properties used by the web-service client.
 ISecurityProperties getSecurityProperties()
          Returns the security properties used by the web-service client.
 WsClient getWebServiceClient()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalWsClient

public LocalWsClient()
Default constructor

Method Detail

getEndpoint

public EndpointReferenceType getEndpoint()
returns a dummy EPR for this agreement. Returns the endpoint of the client instance.

Specified by:
getEndpoint in interface WsClient
Returns:
Returns the endpoint reference for this WS resource.

getProperties

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

Specified by:
getProperties in interface WsClient
Returns:
a list of properties associated with the client

getSecurityProperties

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

Specified by:
getSecurityProperties in interface WsClient
Returns:
the security properties for this client

isUsingTrace

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

Specified by:
isUsingTrace in interface WsClient
Returns:
true, if the web service client traces the incoming/outgoing messages.

setProperties

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

Specified by:
setProperties in interface WsClient
Parameters:
properties - Sets the properties for this client

setTrace

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

Specified by:
setTrace in interface WsClient
Parameters:
trace - true, if the web service client should traces incoming/outgoing messages.

getWebServiceClient

public WsClient getWebServiceClient()
Returns:
this WS client instance


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