uk.org.ogsadai.client.toolkit.service
Class GenericServiceFetcher
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.service.GenericServiceFetcher
- All Implemented Interfaces:
- ServiceFetcher
- public class GenericServiceFetcher
- extends java.lang.Object
- implements ServiceFetcher
Generic service fetcher class
- Author:
- The OGSA-DAI Team.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericServiceFetcher
public GenericServiceFetcher()
getInstance
public static GenericServiceFetcher getInstance()
getDataService
public DataService getDataService(java.lang.String handle,
java.lang.String resourceId)
throws java.net.MalformedURLException
- Description copied from interface:
ServiceFetcher
- Creates a proxy for the Data Service specified by the given
URL and resource identifier.
- Specified by:
getDataService in interface ServiceFetcher
- Parameters:
handle - URL of a data serviceresourceId - identifier of resource
- Returns:
- a proxy for data service
java.net.MalformedURLException
getServiceFetcher
public ServiceFetcher getServiceFetcher(java.lang.String handle)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLException
java.io.IOException