org.ogf.graap.wsag.client.wsrf
Class WsrfAgreementFactoryRegistryClient
java.lang.Object
org.ogf.graap.wsag.client.api.RemoteClient
org.ogf.graap.wsag.client.wsrf.impl.WsrfResourceClient
org.ogf.graap.wsag.client.wsrf.WsrfAgreementFactoryRegistryClient
- All Implemented Interfaces:
- AgreementFactoryRegistryClient
public class WsrfAgreementFactoryRegistryClient
- extends WsrfResourceClient
- implements AgreementFactoryRegistryClient
Default implementation of an agreement factory client.
- Author:
- Oliver Waeldrich
Methods inherited from class org.ogf.graap.wsag.client.wsrf.impl.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 |
WsrfAgreementFactoryRegistryClient
public WsrfAgreementFactoryRegistryClient(EndpointReferenceType epr,
Properties properties,
ISecurityProperties securityProperties)
- Instantiates a new agreement factory client for the given endpoint reference.
- Parameters:
epr
- the agreement factory EPRsecurityProperties
- the security properties
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
getFactory
public AgreementFactoryClient getFactory(String resourceId)
throws ResourceUnknownException,
ResourceUnavailableException
- Description copied from interface:
AgreementFactoryRegistryClient
- Returns an
AgreementFactoryClient
for the factory with the given resource id or null if no
factory with that resource id exists.
- Specified by:
getFactory
in interface AgreementFactoryRegistryClient
- Parameters:
resourceId
- the factory resource id
- Returns:
- the agreement factory client for the requested resource id or null if no factory with the given
id exists
- Throws:
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailable
Copyright © 2008-2012. All Rights Reserved.