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

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

public class RemoteAgreementFactoryRegistryServiceImpl
extends WsrfResourceClient
implements AgreementFactoryRegistryClient

Default implementation of an agreement factory client.

Author:
Oliver Waeldrich

Field Summary
 
Fields inherited from class org.ogf.graap.wsag.client.remote.WsrfResourceClient
ANONYMOUS_EPR, EXTRA_HEADERS
 
Constructor Summary
RemoteAgreementFactoryRegistryServiceImpl(EndpointReferenceType epr, ISecurityProperties securityProperties)
          Instantiates a new agreement factory client for the given endpoint reference.
 
Method Summary
 AgreementFactoryClient[] listAgreementFactories()
          Lists all agreement factories at the given endpoint.
 
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

RemoteAgreementFactoryRegistryServiceImpl

public RemoteAgreementFactoryRegistryServiceImpl(EndpointReferenceType epr,
                                                 ISecurityProperties securityProperties)
Instantiates a new agreement factory client for the given endpoint reference.

Parameters:
epr - the agreement factory EPR
securityProperties - the security properties
Method Detail

listAgreementFactories

public AgreementFactoryClient[] listAgreementFactories()
                                                throws ResourceUnknownException,
                                                       ResourceUnavailableException
Lists all agreement factories at the given endpoint.

Specified by:
listAgreementFactories in interface AgreementFactoryRegistryClient
Returns:
a set of AgreementFactoryClient available at the given endpoint
Throws:
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable


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