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.
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.