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

All Superinterfaces:
WsClient
All Known Subinterfaces:
AgreementFactoryClient
All Known Implementing Classes:
AgreementFactoryFacade, LocalAgreementFactoryClientImpl, LocalAgreementFactoryRegistryImpl, RemoteAgreementFactoryClientImpl, RemoteAgreementRegistryServiceImpl

public interface AgreementRegistryService
extends WsClient

AgreementRegistry

Author:
Oliver Waeldrich

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 interface org.ogf.graap.wsag.api.client.WsClient
getEndpoint, getProperties, getSecurityProperties, isUsingTrace, setProperties, setTrace
 

Method Detail

getWebServiceClient

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

Returns:
the web service client for this service.

listAgreements

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

Returns:
a set of registered agreements
Throws:
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable


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