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 element | Must occur at least | May occur at most | Element type |
|---|---|---|---|
| Pool | 0 times (optional) | 1 time | None |
| DataSource | 0 times (optional) | 1 time | None |
| Root | 0 times (optional) | 1 time | None |
| QueryGenerator | 0 times (optional) | 1 time | None |
Attributes
| Attribute | Description and use | Type |
|---|---|---|
| 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 |