Documentation Center

Storage

This topic describes the Storage element.

Description

This is the configuration of the StorageProvider used by the item types / publication storage mappings

Child element properties

Note: Child elements must occur in the order shown.

Child elements

Child elementMust occur at leastMay occur at mostElement type
Pool0 times (optional)1 timeNone
DataSource0 times (optional)1 timeNone
Root0 times (optional)1 timeNone
QueryGenerator0 times (optional)1 timeNone

Attributes

AttributeDescription and useType
Type

This is the type of the storageProvider used, File, Persistence, etc.

(optional)
string
Class

This is the implementing class of the storage provider, in this class all the logic resides for item type storage

(optional)
string
Id

This is the identifier of the storage provider, this is used to map itemtypes and publication storage configuration to a storage provider

(optional)
string
Username

Specifies the name of the user to use for database interaction.

(optional)
string
Password

Specifies the password to use for database interaction.

(optional)
string
Url

Specifies the URL that the database driver should connect to.

(optional)
string
Driver

Specifies the fully qualified classname for the driver to be used.

(optional)
string
JNDIName

Specifies the JNDI name of a Datasource to use. When used, No other attributes or a DataSource may be specified.

(optional)
string
dialect

This is the dialect used by the persistence based storage providers

(optional)
string
FlushInterval

The maximum amount of JPA EntityManager operations before they are actually flushed. Set this property only for the type "persistence". No file system flush interval is implemented. Defaults to 100 if unspecified.

(optional)
int
defaultFilesystem

Tells if the file structure of the fileSystem storage will be the default one.

(optional)
Boolean
NamespaceServiceBean

Determines the NamespaceService bean used to resolve namespaces for this data source. If left unspecified, it defaults to "NamespaceService".

(optional)
string