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

java.lang.Object
  extended by org.ogf.graap.wsag.client.remote.WsrfResourceClient
      extended by org.ogf.graap.wsag.client.remote.RemoteAgreementRegistryServiceImpl
All Implemented Interfaces:
AgreementRegistryService, WsClient

public class RemoteAgreementRegistryServiceImpl
extends WsrfResourceClient
implements AgreementRegistryService

AgreementRegistryImpl

Author:
Oliver Waeldrich

Field Summary
 
Fields inherited from class org.ogf.graap.wsag.client.remote.WsrfResourceClient
ANONYMOUS_EPR, EXTRA_HEADERS
 
Constructor Summary
RemoteAgreementRegistryServiceImpl(EndpointReferenceType epr, ISecurityProperties securityProperties)
          Creates a new agreement factory registry client with the given endpoint using the provided security properties.
 
Method Summary
 WsClient getWebServiceClient()
          Returns the web-service client used for communication with the SLA management server.
 AgreementClient[] listAgreements()
          Lists the agreement instances of a particular agreement factory.
 
Methods inherited from class org.ogf.graap.wsag.client.remote.WsrfResourceClient
deleteResourceProperty, destroy, getDefaultSOAPClient, getEndpoint, getMultipleResourceProperties, getProperties, getResourceProperty, getResourcePropertyDocument, getSecurityProperties, invoke, isUseDefaultSOAPClient, isUsingTrace, queryResourceProperties, setDefaultSOAPClient, setProperties, setResourceProperties, setTerminationTime, setTrace, setUseDefaultSOAPClient, updateResourceProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ogf.graap.wsag.api.client.WsClient
getEndpoint, getProperties, getSecurityProperties, isUsingTrace, setProperties, setTrace
 

Constructor Detail

RemoteAgreementRegistryServiceImpl

public RemoteAgreementRegistryServiceImpl(EndpointReferenceType epr,
                                          ISecurityProperties securityProperties)
Creates a new agreement factory registry client with the given endpoint using the provided security properties.

Parameters:
epr - the endpoint of the agreement registry service
securityProperties - the client security properties
Method Detail

getWebServiceClient

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

Specified by:
getWebServiceClient in interface AgreementRegistryService
Returns:
the web service client for this service.

listAgreements

public AgreementClient[] listAgreements()
                                 throws ResourceUnknownException,
                                        ResourceUnavailableException
Lists the agreement instances of a particular agreement factory.

Specified by:
listAgreements in interface AgreementRegistryService
Returns:
a set of registered agreements
Throws:
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
See Also:
AgreementRegistryService.listAgreements()


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