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.


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.ogsadai.OgsaDaiService
OGSADAI_SERVICE_RESOURCE_TYPE, OWNED_BY_SERVICE, OWNED_BY_USER
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
FREE_SERVICE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.dataresource.DataResourceManagement
OWNED_BY_SERVICE, OWNED_BY_USER
 
Method Summary
 OgsaDaiResourceConversation connectDatabase(String label, String jdbcURL)
          Deprecated. Use connectDataResource(java.lang.String, java.util.Map) instead
 OgsaDaiResourceConversation connectDataResource(String label, Map<String,String> attributes)
          Connects an existing data resource.
 List<Conversation> createDatabase(String label, String metricURI)
          Deprecated. Use createDataResource(java.lang.String) instead
 List<Conversation> createDataResource(String label)
          Create a new data resource and any default roles on that resource.
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.RemoteService
createMatchPattern, createMatchRule, getEndpoint
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getURL, setDescription
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.ogsadai.OgsaDaiService
getResources
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
addTrustedAccountService, getAdditionalFederationMethods, getAdditionalFederations, getFederatedMethods, getTrustedAccountServices, removeTrustedAccountService, setAdditionalFederation
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.reportapi.ReportAPI
getMessages, getMessagesN
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.dataresource.DataResourceManagement
connectDataResource, createDataResource, getDataResourceAttributeNames, getDataResourceRoleAttributeNames
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 

Method Detail

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 resource
metricURI - 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 resource
jdbcURL - 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.