org.ogf.graap.wsag.client.api.impl
Class AbstractFactoryRegistryClient

java.lang.Object
  extended by org.ogf.graap.wsag.client.api.impl.AbstractClient
      extended by org.ogf.graap.wsag.client.api.impl.AbstractFactoryRegistryClient
All Implemented Interfaces:
AgreementFactoryRegistryClient
Direct Known Subclasses:
RestAgreementFactoryRegistryClient

public abstract class AbstractFactoryRegistryClient
extends AbstractClient
implements AgreementFactoryRegistryClient

Author:
owaeld

Field Summary
 
Fields inherited from interface org.ogf.graap.wsag.client.api.AgreementFactoryRegistryClient
FACTORY
 
Constructor Summary
AbstractFactoryRegistryClient()
           
 
Method Summary
 AgreementFactoryClient getFactory(String resourceId)
          Returns an AgreementFactoryClient for the factory with the given resource id or null if no factory with that resource id exists.
 
Methods inherited from class org.ogf.graap.wsag.client.api.impl.AbstractClient
getProperties, getRemoteClient, getRemoteReference, getSecurityProperties, 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.client.api.AgreementFactoryRegistryClient
listAgreementFactories
 

Constructor Detail

AbstractFactoryRegistryClient

public AbstractFactoryRegistryClient()
Method Detail

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.