uk.org.ogsadai.client.toolkit.service
Interface ServiceFetcher

All Known Implementing Classes:
GenericServiceFetcher, WSRFServiceFetcher

public interface ServiceFetcher

Interface used to obtain data service proxies.

Author:
The OGSA-DAI Project Team

Method Summary
 DataService getDataService(java.lang.String handle, java.lang.String resourceId)
          Creates a proxy for the Data Service specified by the given URL and resource identifier.
 

Method Detail

getDataService

public DataService getDataService(java.lang.String handle,
                                  java.lang.String resourceId)
                           throws java.net.MalformedURLException
Creates a proxy for the Data Service specified by the given URL and resource identifier.

Parameters:
handle - URL of a data service
resourceId - identifier of resource
Returns:
a proxy for data service
Throws:
MalformedHandleException - If the given service handle is malformed.
java.lang.IllegalArgumentException - If either of the arguments are null.
java.net.MalformedURLException