org.pentaho.reporting.libraries.repository

Class LibRepositoryBoot

public class LibRepositoryBoot extends AbstractBoot

The LibRepositoryBoot class is used to initialize the library before it is first used. This loads all configurations and initializes all factories.

Without booting, basic services like logging and the global configuration will not be availble.

Author: Thomas Morgner

Field Summary
static StringCONTENT_TYPE
A attribute name representing the content-entities mime-type information (if stored in the repository).
static StringREPOSITORY_DOMAIN
A attribute domain name for managing general attributes.
static StringSIZE_ATTRIBUTE
A attribute name representing the content-item size.
static StringVERSION_ATTRIBUTE
A attribute name representing the content-entity versioning information.
static StringZIP_COMMENT_ATTRIBUTE
A attribute name representing a ZIP entry comment.
static StringZIP_COMPRESSION_ATTRIBUTE
A attribute name representing a ZIP compression level.
static StringZIP_CRC32_ATTRIBUTE
A attribute name representing a ZIP attribute.
static StringZIP_DOMAIN
A attribute domain name for managing ZIP-Attributes.
static StringZIP_METHOD_ATTRIBUTE
A attribute name representing a ZIP compression method.
static IntegerZIP_METHOD_DEFLATED
A attribute name representing a ZIP attribute value.
static IntegerZIP_METHOD_STORED
A attribute name representing a ZIP attribute value.
Method Summary
static LibRepositoryBootgetInstance()
Returns the singleton instance of the boot-class.
protected ProjectInformationgetProjectInfo()
Returns the project info.
protected ConfigurationloadConfiguration()
Loads the configuration.
protected voidperformBoot()
Performs the boot.

Field Detail

CONTENT_TYPE

public static final String CONTENT_TYPE
A attribute name representing the content-entities mime-type information (if stored in the repository).

REPOSITORY_DOMAIN

public static final String REPOSITORY_DOMAIN
A attribute domain name for managing general attributes.

SIZE_ATTRIBUTE

public static final String SIZE_ATTRIBUTE
A attribute name representing the content-item size. This should always return a Number.

VERSION_ATTRIBUTE

public static final String VERSION_ATTRIBUTE
A attribute name representing the content-entity versioning information. The object used as versioning information is implementation-specific and should only be used to compare equality.

ZIP_COMMENT_ATTRIBUTE

public static final String ZIP_COMMENT_ATTRIBUTE
A attribute name representing a ZIP entry comment.

ZIP_COMPRESSION_ATTRIBUTE

public static final String ZIP_COMPRESSION_ATTRIBUTE
A attribute name representing a ZIP compression level.

ZIP_CRC32_ATTRIBUTE

public static final String ZIP_CRC32_ATTRIBUTE
A attribute name representing a ZIP attribute.

ZIP_DOMAIN

public static final String ZIP_DOMAIN
A attribute domain name for managing ZIP-Attributes.

ZIP_METHOD_ATTRIBUTE

public static final String ZIP_METHOD_ATTRIBUTE
A attribute name representing a ZIP compression method.

ZIP_METHOD_DEFLATED

public static final Integer ZIP_METHOD_DEFLATED
A attribute name representing a ZIP attribute value.

ZIP_METHOD_STORED

public static final Integer ZIP_METHOD_STORED
A attribute name representing a ZIP attribute value.

Method Detail

getInstance

public static LibRepositoryBoot getInstance()
Returns the singleton instance of the boot-class.

Returns: the singleton booter.

getProjectInfo

protected ProjectInformation getProjectInfo()
Returns the project info.

Returns: The project info.

loadConfiguration

protected Configuration loadConfiguration()
Loads the configuration.

Returns: The configuration.

performBoot

protected void performBoot()
Performs the boot.