|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.service.wsrf.dataservice.impl.DataServiceImpl
|
+--uk.org.ogsadai.service.wsrf.dataservice.impl.ConfigurableDataServiceImpl
The ConfigurableDataServiceImpl provides a service
object for interacting with data service resources. It is a
sub-class of DataServiceImpl, extended to offer
operations to request the deployment of an additional data service
resource or the rereading of the role maps for an existing data
service resource.
For deployment, it is assumed that additional configuration files
are placed server-side within a directory within the directory
specified by the dai.config.files.root property held
within the service deployment descriptor. This is done via some
out-of-band means. The deployer then invokes the deploy()
operation passing the name of the data service resource. It is
assumed that this name matches the local name of the directory
within which the configuration files are located
The class provides an implementation of the
automatically-generated
ConfigurableDataServicePortType methods
relating to data resource-related operations (other operations are
expected to be provided by Globus Toolkit operation providers).
ConfigurableDataServicePortType| Field Summary |
| Fields inherited from class uk.org.ogsadai.service.wsrf.dataservice.impl.DataServiceImpl |
mResourcesFile, RESOURCE_ATTR, RESOURCE_ELT |
| Constructor Summary | |
ConfigurableDataServiceImpl()
Create a new configurable data service. |
|
| Method Summary | |
DeployResponse |
deploy(Deploy deploy)
Expose a new data service resource with a given ID. |
UpdateRoleMapsResponse |
updateRoleMaps(UpdateRoleMaps update)
Re-read the role-maps for a specific data service resource. |
| Methods inherited from class uk.org.ogsadai.service.wsrf.dataservice.impl.DataServiceImpl |
createResource, getBlock, getDataServiceResource, getFully, getSecurityContext, getVersion, listResources, perform, putBlock, putFully, throwInternalFault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurableDataServiceImpl()
throws InternalFaultType
The new object will initialise itself using information within its deployment descriptor if it has not already done so.
InternalFaultType - - if some internal problem
occurs.DataServiceImpl| Method Detail |
public DeployResponse deploy(Deploy deploy)
throws java.rmi.RemoteException,
ConfigurationFaultType,
IDAlreadyAssignedFaultType,
AuthorisationFaultType,
InternalFaultType
Invocations of this operation are not assumed to be directed at a specific data service resource (WS-Resource).
deploy - - contains the ID of the new data resource.
java.rmi.RemoteException
ConfigurationFaultType - - if there is a problem in
finding or parsing the configuration files that is the user's
fault.
IDAlreadyAssignedFaultType - - if the given ID has
already been taken.
InternalFaultType - - if some internal problem
occurs.
AuthorisationFaultType - - if the client is not
authorised to deploy a data service resource.ConfigurableDataServicePortType.deploy(Deploy)
public UpdateRoleMapsResponse updateRoleMaps(UpdateRoleMaps update)
throws java.rmi.RemoteException,
ConfigurationFaultType,
InternalFaultType,
AuthorisationFaultType,
ResourceUnknownFaultType
Invocations of this operation are assumed to be directed at a specific data service resource (WS-Resource).
update - - empty object.
java.rmi.RemoteException - - if there is no such resource.
ConfigurationFaultType - - if there is a problem in
finding or parsing the role-map file that is the user's
fault.
AuthorisationFaultType - - if the client is not
authorised to update the roleMaps.
InternalFaultType - - if some internal problem
occurs.
ResourceUnknownFaultTypeConfigurableDataServicePortType.updateRoleMaps(UpdateRoleMaps)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||