uk.org.ogsadai.service.wsrf.properties
Class DataServiceResourcePropertyFactory

java.lang.Object
  |
  +--uk.org.ogsadai.service.wsrf.properties.DataServiceResourcePropertyFactory
All Implemented Interfaces:
ResourcePropertyFactory

public class DataServiceResourcePropertyFactory
extends java.lang.Object
implements ResourcePropertyFactory

A resource property factory for creating Globus Toolkit-compliant resource properties from OGSA-DAI properties.

Author:
The OGSA-DAI Project Team
See Also:
ResourcePropertyFactory

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  SecurityContextProvider mSecurity
          Globus security context provider for the resource properties
 
Constructor Summary
DataServiceResourcePropertyFactory(SecurityContextProvider security)
          Create a new factory.
 
Method Summary
 org.globus.wsrf.ResourceProperty createResourceProperty(Property property)
          Creates and returns a Globus Toolkit resource property from the specified OGSA-DAI property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mSecurity

private final SecurityContextProvider mSecurity
Globus security context provider for the resource properties

Constructor Detail

DataServiceResourcePropertyFactory

public DataServiceResourcePropertyFactory(SecurityContextProvider security)
Create a new factory.

Parameters:
security - A SecurityContextProvider to use for creating for the DataServiceResourceProperty objects. Each property will be given a reference to this.
Throws:
java.lang.IllegalArgumentException - if security is null.
Method Detail

createResourceProperty

public org.globus.wsrf.ResourceProperty createResourceProperty(Property property)
Description copied from interface: ResourcePropertyFactory
Creates and returns a Globus Toolkit resource property from the specified OGSA-DAI property.

Specified by:
createResourceProperty in interface ResourcePropertyFactory
Parameters:
property - An OGSA-DAI property
Returns:
a Globus Toolkit ResourceProperty.