org.jfree.report.modules.preferences.filesystem

Class FileConfigStoreModuleInitializer

public class FileConfigStoreModuleInitializer extends Object implements ModuleInitializer

The initializer is used to setup the file system storage provider and to register the providers at the configfactory.

The directories are specified in the report configuration at boot time. If an directory name starts with "~/", the users home directory is used as base directory for that string.

Author: Thomas Morgner

Field Summary
static StringSYSTEM_BASEDIR_CONFIG_KEY
The configuration key that specifies the base directory for the system configuration storage.
static StringUSER_BASEDIR_CONFIG_KEY
The configuration key that specifies the base directory for the user configuration storage.
Constructor Summary
FileConfigStoreModuleInitializer()
DefaultConstructor.
Method Summary
voidperformInit()
Performs the module initialization and registers the storage providers at the config factory.

Field Detail

SYSTEM_BASEDIR_CONFIG_KEY

public static final String SYSTEM_BASEDIR_CONFIG_KEY
The configuration key that specifies the base directory for the system configuration storage.

USER_BASEDIR_CONFIG_KEY

public static final String USER_BASEDIR_CONFIG_KEY
The configuration key that specifies the base directory for the user configuration storage.

Constructor Detail

FileConfigStoreModuleInitializer

public FileConfigStoreModuleInitializer()
DefaultConstructor.

Method Detail

performInit

public void performInit()
Performs the module initialization and registers the storage providers at the config factory.

Throws: ModuleInitializeException if an error occures