uk.org.ogsadai.client.toolkit.wsrf
Class ConfigurableWSRFDataService

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.wsrf.WSRFDataService
        |
        +--uk.org.ogsadai.client.toolkit.wsrf.ConfigurableWSRFDataService
All Implemented Interfaces:
DAIService, DataService, DataTransport, Properties, Service

public class ConfigurableWSRFDataService
extends WSRFDataService

Author:
The OGSA-DAI Team. WSRF implementation of a DataService.

Field Summary
 
Fields inherited from class uk.org.ogsadai.client.toolkit.wsrf.WSRFDataService
mResource
 
Constructor Summary
ConfigurableWSRFDataService(java.lang.String handle)
           
ConfigurableWSRFDataService(java.lang.String handle, ResourceID resourceID)
           
 
Method Summary
 void deploy(java.lang.String name)
          Deploy a new data resource.
 void updateRoleMaps()
          Update the rolemaps at the default data resource.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.wsrf.WSRFDataService
close, getActivityMetaData, getBlock, getConnectionProperty, getDataResourceInfo, getDataTransportURL, getFully, getNBlocks, getPortTypes, getProperties, getProperty, getPropertyNames, getResourceID, getResourceIDs, getStatus, getStreamID, getSupportedActivities, getURL, getVersion, perform, perform, ping, pollUntilRequestCompleted, pollUntilRequestCompleted, putBlock, putClosingBlock, putFully, setConnectionProperty, setResourceID, setStreamID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableWSRFDataService

public ConfigurableWSRFDataService(java.lang.String handle)
                            throws ServiceCommsException,
                                   java.net.MalformedURLException
Parameters:
handle -

ConfigurableWSRFDataService

public ConfigurableWSRFDataService(java.lang.String handle,
                                   ResourceID resourceID)
                            throws ServiceCommsException,
                                   java.net.MalformedURLException
Parameters:
handle -
Method Detail

deploy

public void deploy(java.lang.String name)
            throws AuthorisationException,
                   ServerException,
                   ServiceCommsException
Deploy a new data resource.

Parameters:
name - name of the data resource
Throws:
ServerException
ServiceCommsException
AuthorisationException

updateRoleMaps

public void updateRoleMaps()
                    throws AuthorisationException,
                           ServerException,
                           ServiceCommsException
Update the rolemaps at the default data resource.

Throws:
ServerException
ServiceCommsException
AuthorisationException