Files Data Resource Accessor

Overview

The files data resource accessor allows data service resources to expose a directory (and all sub-directories and files) within the server-side file system.

The accessor we provide maps all users to the same directory. However, you could provide your own accessor which implements uk.org.ogsadai.dataresource.FileAccessProvider that mapped specific users to specific directories if required.

Resource Properties

This accessor provides no properties for any data service resource which uses it. However, the service deployer may provide application-specific metadata properties in the data resource accessor configuration files (see below).

Class

This data resource accessor is implemented by the following Java class:

uk.org.ogsadai.dataresource.FilesDataResourceAccessor

Interfaces

This data resource accessor implements the following interfaces:

Configuration

Any data service resource using a files data resource accessor uses the following configuration files:

These files are constructed automatically by the tools we provide to deploy data service resources. However, if you are interested, a detailed description of these files can be found on this page.