uk.ac.soton.itinnovation.grid.client.ogsadai
Interface OgsaDaiResourceConversation

All Superinterfaces:
Comparable<StorableInStateRepository>, Conversation, DataResource, IdentifiableResource, ManagedGridService, OgsaDaiResource, PolicyManagement, ResourceMetadata, StorableInStateRepository, WSResourceLifetime

@InterfaceWithWSDL(value=OgsaDaiResource.class)
public interface OgsaDaiResourceConversation
extends OgsaDaiResource, Conversation

A proxy to a database on a remote OGSA-DAI service.


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.ogsadai.OgsaDaiResource
RESOURCE_TYPE
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.management.ManagedGridService
FREE_SERVICE
 
Method Summary
 OgsaDaiRoleConversation connectDataResourceRole(String label, Map<String,String> attributes)
          Connect a role suitable for accessing this database.
 OgsaDaiRoleConversation createRole(String label, String username, String password, boolean own)
          Deprecated. See connectDataResourceRole(java.lang.String, java.util.Map)
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.dataresource.DataResource
connectDataResourceRole, createDataResourceRole, getDataResourceAttributes, modifyDataResource
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource
getServiceMatchPattern
 
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.ecs.iam.grid.comms.client.Conversation
getService
 
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
 

Method Detail

connectDataResourceRole

OgsaDaiRoleConversation connectDataResourceRole(String label,
                                                Map<String,String> attributes)
                                                throws RemoteException
Connect a role suitable for accessing this database. Use this method in client applications - not the method inherited from DataResource

Parameters:
label - The label for the new resource.
attributes - A key-value map containing authentication credentials for this role. Keys must be from the set DataResourceManagement.getDataResourceRoleAttributeNames()
Throws:
RemoteException

createRole

@Deprecated
OgsaDaiRoleConversation createRole(String label,
                                              String username,
                                              String password,
                                              boolean own)
                                   throws RemoteException
Deprecated. See connectDataResourceRole(java.lang.String, java.util.Map)

Create a new username/password combination for accessing this database. Use this method in client applications - not the method inherited from OgsaDaiDBI

Parameters:
label - The label for the new resource.
username - The database username.
password - The database password.
own - If true, the username will be removed from the database backend when the role resource is destroyed.
Returns:
The EPR of the new role resource
Throws:
RemoteException


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