uk.ac.soton.itinnovation.grid.comms.dataresource
Interface DataResourceManagement

All Known Subinterfaces:
CltMgtRegistryService, OgsaDaiServiceI2, RemoteCltMgtRegistryService, RemoteOgsaDaiService
All Known Implementing Classes:
CltMgtRegistryServiceImpl, ManagedDataResource, OgsaDaiServiceI2Impl, OgsaDaiServiceImpl

@WebService(targetNamespace="http://www.it-innovation.soton.ac.uk/2004/grid/dataresourcemanagement",
            name="DataResourceManagement",
            wsdlLocation="dataresourcemanagement.wsdl",
            serviceName="DataResourceManagement")
@SoapBindingName(value="DataResourceManagementSoapBinding")
public interface DataResourceManagement


Field Summary
static QName OWNED_BY_SERVICE
           
static QName OWNED_BY_USER
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType connectDataResource(MatchRule owner, String label, Map<String,String> attributes)
          Connect an existing data resource.
 org.apache.axis.message.addressing.EndpointReferenceType[] createDataResource(MatchRule owner, String label)
          Create a new data resource with default roles.
 String[] getDataResourceAttributeNames()
          Get a list of attribute names that are valid for data resources.
 String[] getDataResourceRoleAttributeNames()
          Get a list of attribute names that are valid for data resource roles.
 

Field Detail

OWNED_BY_USER

static final QName OWNED_BY_USER

OWNED_BY_SERVICE

static final QName OWNED_BY_SERVICE
Method Detail

createDataResource

@WebMethod(usesBillingHeader=true)
org.apache.axis.message.addressing.EndpointReferenceType[] createDataResource(MatchRule owner,
                                                                                                         String label)
                                                                              throws RemoteException
Create a new data resource with default roles. Unlike connectDataResource(uk.ac.soton.itinnovation.grid.types.MatchRule, java.lang.String, java.util.Map), this method actually creates a new resource on the backend. It may also create some default roles that can be used to access the new resource.

Parameters:
owner - A rule for the 'owner' PBAC role.
label - A label describing the data resource that is to be created.
Returns:
An array of EPRs describing the data resource and all roles that were created.
Throws:
RemoteException

connectDataResource

@WebMethod(usesBillingHeader=true)
org.apache.axis.message.addressing.EndpointReferenceType connectDataResource(MatchRule owner,
                                                                                                        String label,
                                                                                                        Map<String,String> attributes)
                                                                             throws RemoteException
Connect an existing data resource. Unlike createDataResource(uk.ac.soton.itinnovation.grid.types.MatchRule, java.lang.String), this method does not create a new resource, and therefore the connection information provided in attributes must describe a valid existing resource. This method creates no roles for accessing the resource.

Parameters:
owner - A rule for the 'owner' PBAC role.
label - A label describing the data resource that is to be created.
attributes - A key-value map of attributes describing how to connect to the data resource. Keys should be from the set getDataResourceAttributeNames().
Returns:
An EPR describing the data resource.
Throws:
RemoteException

getDataResourceAttributeNames

@WebMethod
String[] getDataResourceAttributeNames()
Get a list of attribute names that are valid for data resources. This method is useful for user interfaces that wish to provide users with a means to connect or edit data resources.


getDataResourceRoleAttributeNames

@WebMethod
String[] getDataResourceRoleAttributeNames()
Get a list of attribute names that are valid for data resource roles. This method is useful for user interfaces that wish to provide users with a means to connect, create, or edit data resource roles.



Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.