uk.ac.soton.itinnovation.grid.service.ogsadai
Class DefaultOgsaDaiInstance
java.lang.Object
uk.org.ogsadai.service.wsi.dataservice.impl.DataServiceImpl
uk.org.ogsadai.service.wsi.dataservice.impl.ConfigurableDataServiceImpl
uk.ac.soton.itinnovation.grid.service.ogsadai.DefaultOgsaDaiInstance
- All Implemented Interfaces:
- Remote, OgsaDaiInstance, SecurityContextProvider, DataServiceResourceFactory, ConfigurableDataServicePortType, DataServicePortType
public class DefaultOgsaDaiInstance
- extends ConfigurableDataServiceImpl
- implements OgsaDaiInstance
The default implementation of OgsaDaiInstance.
Extends ConfigurableDataServiceImpl to provide access to OGSA-DAI's methods.
- Author:
- ds
|
Field Summary |
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class uk.org.ogsadai.service.wsi.dataservice.impl.DataServiceImpl |
createResource, createResource, createResourceFromComponentFactory, createResourceFromComponents, createResourceFromConfigDirectory, getBlock, getDataServiceResource, getFully, getMultipleResourceProperties, getNBlocks, getNewResourceName, getNewResourceName, getResourceConfigDirectory, getResourceProperty, getVersion, listResources, perform, putBlock, putFully, removeResource, removeResource, terminate, throwAuthorisationFault, throwInternalFault, throwRequestFault, throwResourceUnknownFault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.org.ogsadai.service.wsi.dataservice.ConfigurableDataServicePortType |
deploy, getBlock, getFully, getMultipleResourceProperties, getNBlocks, getResourceProperty, getVersion, listResources, perform, putBlock, putFully, terminate, undeploy |
log
protected static org.apache.log4j.Logger log
DefaultOgsaDaiInstance
public DefaultOgsaDaiInstance()
throws InternalFaultType
- Note -
initialiseInstance(java.lang.String, java.lang.String) must be called before this constructor
- Throws:
InternalFaultType
initialiseInstance
public static void initialiseInstance(String configFilesPath,
String schemaUrl)
- Setup the
MessageContext with information about configuration files required
by OGSA-DAI. This must be called before the constructor.
- Parameters:
configFilesPath - A path to a directory containing OGSA-DAI's deployed data resourcesschemaUrl - A path to a directory containing OGSA-DAI XML schema
setDbName
public void setDbName(String dbName)
- Description copied from interface:
OgsaDaiInstance
- Set the name of the data resource that subsequent OGSA-DAI methods should operate on.
This name is individual to each thread.
- Specified by:
setDbName in interface OgsaDaiInstance
setSecurityContext
public void setSecurityContext(String distinguishedName)
- Description copied from interface:
OgsaDaiInstance
- Set security credentials to be used by subsequent OGSA-DAI methods. Usually this is
the resource ID of the subscription that is being used to access the resource.
These security credentials are individual to each thread.
- Specified by:
setSecurityContext in interface OgsaDaiInstance
getSecurityContext
public SecurityContext getSecurityContext()
- Specified by:
getSecurityContext in interface SecurityContextProvider- Overrides:
getSecurityContext in class DataServiceImpl
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.