org.pentaho.reporting.libraries.repository
Class LibRepositoryBoot

java.lang.Object
  extended by org.pentaho.reporting.libraries.base.boot.AbstractBoot
      extended by 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
static java.lang.String CONTENT_TYPE
          A attribute name representing the content-entities mime-type information (if stored in the repository).
static java.lang.String REPOSITORY_DOMAIN
          A attribute domain name for managing general attributes.
static java.lang.String SIZE_ATTRIBUTE
          A attribute name representing the content-item size.
static java.lang.String VERSION_ATTRIBUTE
          A attribute name representing the content-entity versioning information.
static java.lang.String ZIP_COMMENT_ATTRIBUTE
          A attribute name representing a ZIP entry comment.
static java.lang.String ZIP_COMPRESSION_ATTRIBUTE
          A attribute name representing a ZIP compression level.
static java.lang.String ZIP_CRC32_ATTRIBUTE
          A attribute name representing a ZIP attribute.
static java.lang.String ZIP_DOMAIN
          A attribute domain name for managing ZIP-Attributes.
static java.lang.String ZIP_METHOD_ATTRIBUTE
          A attribute name representing a ZIP compression method.
static java.lang.Integer ZIP_METHOD_DEFLATED
          A attribute name representing a ZIP attribute value.
static java.lang.Integer ZIP_METHOD_STORED
          A attribute name representing a ZIP attribute value.
 
Method Summary
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, getExtendedConfig, getGlobalConfig, getPackageManager, isBootDone, isBootFailed, isBootInProgress, loadBooter, loadBooter, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZIP_DOMAIN

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

See Also:
Constant Field Values

ZIP_METHOD_ATTRIBUTE

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

See Also:
Constant Field Values

ZIP_METHOD_STORED

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


ZIP_METHOD_DEFLATED

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


ZIP_COMPRESSION_ATTRIBUTE

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

See Also:
Constant Field Values

ZIP_COMMENT_ATTRIBUTE

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

See Also:
Constant Field Values

ZIP_CRC32_ATTRIBUTE

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

See Also:
Constant Field Values

REPOSITORY_DOMAIN

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

See Also:
Constant Field Values

SIZE_ATTRIBUTE

public static final java.lang.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 java.lang.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 java.lang.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 class org.pentaho.reporting.libraries.base.boot.AbstractBoot
Returns:
The configuration.

performBoot

protected void performBoot()
Performs the boot.

Specified by:
performBoot in class org.pentaho.reporting.libraries.base.boot.AbstractBoot

getProjectInfo

protected org.pentaho.reporting.libraries.base.versioning.ProjectInformation getProjectInfo()
Returns the project info.

Specified by:
getProjectInfo in class org.pentaho.reporting.libraries.base.boot.AbstractBoot
Returns:
The project info.