Class LibRepositoryBoot
- java.lang.Object
-
- org.pentaho.reporting.libraries.base.boot.AbstractBoot
-
- org.pentaho.reporting.libraries.repository.LibRepositoryBoot
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.base.boot.SubSystem
public class LibRepositoryBoot extends org.pentaho.reporting.libraries.base.boot.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
Fields Modifier and Type Field Description static String
CONTENT_TYPE
A attribute name representing the content-entities mime-type information (if stored in the repository).static String
REPOSITORY_DOMAIN
A attribute domain name for managing general attributes.static String
SIZE_ATTRIBUTE
A attribute name representing the content-item size.static String
VERSION_ATTRIBUTE
A attribute name representing the content-entity versioning information.static String
ZIP_COMMENT_ATTRIBUTE
A attribute name representing a ZIP entry comment.static String
ZIP_COMPRESSION_ATTRIBUTE
A attribute name representing a ZIP compression level.static String
ZIP_CRC32_ATTRIBUTE
A attribute name representing a ZIP attribute.static String
ZIP_DOMAIN
A attribute domain name for managing ZIP-Attributes.static String
ZIP_METHOD_ATTRIBUTE
A attribute name representing a ZIP compression method.static Integer
ZIP_METHOD_DEFLATED
A attribute name representing a ZIP attribute value.static Integer
ZIP_METHOD_STORED
A attribute name representing a ZIP attribute value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LibRepositoryBoot
getInstance()
Returns the singleton instance of the boot-class.protected org.pentaho.reporting.libraries.base.versioning.ProjectInformation
getProjectInfo()
Returns the project info.protected org.pentaho.reporting.libraries.base.config.Configuration
loadConfiguration()
Loads the configuration.protected void
performBoot()
Performs the boot.-
Methods inherited from class org.pentaho.reporting.libraries.base.boot.AbstractBoot
createDefaultHierarchicalConfiguration, getBootFailureReason, getConfigurationDomain, getExtendedConfig, getGlobalConfig, getObjectFactory, getPackageManager, isBootDone, isBootFailed, isBootInProgress, loadBooter, loadBooter, start
-
-
-
-
Field Detail
-
ZIP_DOMAIN
public static final String ZIP_DOMAIN
A attribute domain name for managing ZIP-Attributes.- See Also:
- Constant Field Values
-
ZIP_METHOD_ATTRIBUTE
public static final String ZIP_METHOD_ATTRIBUTE
A attribute name representing a ZIP compression method.- See Also:
- Constant Field Values
-
ZIP_METHOD_STORED
public static final Integer ZIP_METHOD_STORED
A attribute name representing a ZIP attribute value.
-
ZIP_METHOD_DEFLATED
public static final Integer ZIP_METHOD_DEFLATED
A attribute name representing a ZIP attribute value.
-
ZIP_COMPRESSION_ATTRIBUTE
public static final String ZIP_COMPRESSION_ATTRIBUTE
A attribute name representing a ZIP compression level.- See Also:
- Constant Field Values
-
ZIP_COMMENT_ATTRIBUTE
public static final String ZIP_COMMENT_ATTRIBUTE
A attribute name representing a ZIP entry comment.- See Also:
- Constant Field Values
-
ZIP_CRC32_ATTRIBUTE
public static final String ZIP_CRC32_ATTRIBUTE
A attribute name representing a ZIP attribute.- See Also:
- Constant Field Values
-
REPOSITORY_DOMAIN
public static final String REPOSITORY_DOMAIN
A attribute domain name for managing general attributes.- See Also:
- Constant Field Values
-
SIZE_ATTRIBUTE
public static final String SIZE_ATTRIBUTE
A attribute name representing the content-item size. This should always return a Number.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
A attribute name representing the content-entities mime-type information (if stored in the repository).- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static LibRepositoryBoot getInstance()
Returns the singleton instance of the boot-class.- Returns:
- the singleton booter.
-
loadConfiguration
protected org.pentaho.reporting.libraries.base.config.Configuration loadConfiguration()
Loads the configuration.- Specified by:
loadConfiguration
in classorg.pentaho.reporting.libraries.base.boot.AbstractBoot
- Returns:
- The configuration.
-
performBoot
protected void performBoot()
Performs the boot.- Specified by:
performBoot
in classorg.pentaho.reporting.libraries.base.boot.AbstractBoot
-
getProjectInfo
protected org.pentaho.reporting.libraries.base.versioning.ProjectInformation getProjectInfo()
Returns the project info.- Specified by:
getProjectInfo
in classorg.pentaho.reporting.libraries.base.boot.AbstractBoot
- Returns:
- The project info.
-
-