Class 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 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 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.