uk.org.ogsadai.client.toolkit.service
Interface ServiceFetcher
- All Known Implementing Classes:
- GenericServiceFetcher
- public interface ServiceFetcher
Interface used to obtain data service client-side proxies.
- Author:
- The OGSA-DAI Project Team
| Method Summary |
DataService |
getDataService(java.lang.String url, java.lang.String resourceID)
Create a proxy for the data service specified by the given URL and data service resource ID. |
getDataService
public DataService getDataService(java.lang.String url,
java.lang.String resourceID)
throws java.net.MalformedURLException,
java.lang.IllegalArgumentException,
ServiceCommsException,
ServiceTypeException
-
Create a proxy for the data service specified by the given URL and data service resource ID.
-
- Parameters:
url - URL of a data service
resourceID - Data service resource ID. The method does not check whether the service exposes the resource.
- Returns:
- a proxy for data service
- Throws:
java.lang.IllegalArgumentException - if either of the arguments are null.
java.net.MalformedURLException - if URL is malformed.
ServiceCommsException - if there is a problem contacting the service.
ServiceTypeException - if the service at url is either not an OGSA-DAI service or is not implemented in a version of OGSA-DAI compatible with this version of the client toolkit.