org.ogf.graap.wsag.client.remote
Class RemoteAgreementClientImpl

java.lang.Object
  extended by org.ogf.graap.wsag.client.impl.AgreementImpl
      extended by org.ogf.graap.wsag.client.remote.RemoteAgreementClientImpl
All Implemented Interfaces:
AgreementClient, AgreementService, WsClient

public class RemoteAgreementClientImpl
extends AgreementImpl

Default implementation of an agreement client.

Author:
Oliver Waeldrich

Constructor Summary
RemoteAgreementClientImpl(EndpointReferenceType epr, ISecurityProperties securityProperties)
          Instantiates a new agreement client for the given EPR.
 
Method Summary
 AgreementClient clone()
          Returns a copy of the client.
 WsClient getWebServiceClient()
          Returns the web-service client used for communication with the SLA management server.
 
Methods inherited from class org.ogf.graap.wsag.client.impl.AgreementImpl
destroy, getAgreementId, getContext, getEndpoint, getGuaranteeTermState, getGuaranteeTermStates, getName, getProperties, getSecurityProperties, getServiceTermState, getServiceTermStates, getState, getTerms, isUsingTrace, setProperties, setTrace, terminate, terminate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAgreementClientImpl

public RemoteAgreementClientImpl(EndpointReferenceType epr,
                                 ISecurityProperties securityProperties)
Instantiates a new agreement client for the given EPR.

Parameters:
epr - the agreement endpoint reference.
securityProperties - the security properties
Method Detail

clone

public AgreementClient clone()
                      throws CloneNotSupportedException
Returns a copy of the client.

Specified by:
clone in interface AgreementClient
Specified by:
clone in class AgreementImpl
Returns:
the cloned AgreementClient
Throws:
CloneNotSupportedException - indicates that the client implementation does not support cloning

getWebServiceClient

public WsClient getWebServiceClient()
Returns the web-service client used for communication with the SLA management server.

Returns:
the web service client for this service.


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