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

java.lang.Object
  extended by org.ogf.graap.wsag.client.local.LocalWsClient
      extended by org.ogf.graap.wsag.client.local.LocalAgreementFactoryRegistryImpl
All Implemented Interfaces:
AgreementRegistryService, WsClient

public class LocalAgreementFactoryRegistryImpl
extends LocalWsClient
implements AgreementRegistryService

Implementation of an agreement registry service for local access. Only for internal use.

Author:
Oliver Waeldrich

Constructor Summary
LocalAgreementFactoryRegistryImpl()
          default constructor
LocalAgreementFactoryRegistryImpl(Agreement[] source)
           
 
Method Summary
 AgreementClient[] listAgreements()
          Lists the agreement instances of a particular agreement factory.
 
Methods inherited from class org.ogf.graap.wsag.client.local.LocalWsClient
getEndpoint, getProperties, getSecurityProperties, getWebServiceClient, isUsingTrace, setProperties, setTrace
 
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.AgreementRegistryService
getWebServiceClient
 
Methods inherited from interface org.ogf.graap.wsag.api.client.WsClient
getEndpoint, getProperties, getSecurityProperties, isUsingTrace, setProperties, setTrace
 

Constructor Detail

LocalAgreementFactoryRegistryImpl

public LocalAgreementFactoryRegistryImpl()
default constructor


LocalAgreementFactoryRegistryImpl

public LocalAgreementFactoryRegistryImpl(Agreement[] source)
Parameters:
source - the agreements associated with this registry.
Method Detail

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.