uk.ac.soton.itinnovation.grid.client.ogsadai
Interface RemoteOgsaDaiService
- All Superinterfaces:
- Comparable<StorableInStateRepository>, DataResourceManagement, GridService, IdentifiableResource, ManagedGridService, OgsaDaiService, OgsaDaiServiceI2, RemoteService, ReportAPI, StorableInStateRepository, WSResourceLifetime
@InterfaceWithWSDL(value=OgsaDaiServiceI2.class)
public interface RemoteOgsaDaiService
- extends RemoteService, OgsaDaiServiceI2
A proxy to an instance of the OGSA-DAI service.
createDataResource
List<Conversation> createDataResource(String label)
throws RemoteException
- Create a new data resource and any default roles on that resource.
Use this method in client applications - not the method inherited from
OgsaDaiService
- Parameters:
label - A label for the new resource.
- Returns:
- A list of EPRs describing the newly created resources. This list will contain the
data resource itself, and any other default roles that were created.
- Throws:
RemoteException
connectDataResource
OgsaDaiResourceConversation connectDataResource(String label,
Map<String,String> attributes)
throws RemoteException
- Connects an existing data resource.
Use this method in client applications - not the method inherited from
OgsaDaiService
- Parameters:
label - A label for the new resource.attributes - A key-value map of attributes describing how to connect to the data resource.
Keys must be from the set DataResourceManagement.getDataResourceAttributeNames().
- Throws:
RemoteException
createDatabase
@Deprecated
List<Conversation> createDatabase(String label,
String metricURI)
throws RemoteException
- Deprecated. Use
createDataResource(java.lang.String) instead
- Creates a new database.
This method will create a new database and three roles (DAA, DAU_RO, DAU_RW)
Use this method in client applications - not the method inherited from
OgsaDaiService
- Parameters:
label - A label for the new resourcemetricURI - The URI of a custom metric to use for this role
- Returns:
- An array of EPRs for the new resources. These will include the
database itself, and three role resources.
- Throws:
RemoteException
connectDatabase
@Deprecated
OgsaDaiResourceConversation connectDatabase(String label,
String jdbcURL)
throws RemoteException
- Deprecated. Use
connectDataResource(java.lang.String, java.util.Map) instead
- Connects an existing database.
Use this method in client applications - not the method inherited from
OgsaDaiService
- Parameters:
label - A label for the new resourcejdbcURL - The JDBC URL of the existing database
- Returns:
- The EPR of the new resource
- Throws:
RemoteException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.