Class LibBaseBoot
java.lang.Object
org.pentaho.reporting.libraries.base.boot.AbstractBoot
org.pentaho.reporting.libraries.base.LibBaseBoot
- All Implemented Interfaces:
SubSystem
An utility class to safely boot and initialize the LibBase library.
- Author:
- : Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionstatic LibBaseBoot
Returns the singleton instance of LibBaseBoot.protected ProjectInformation
Returns the project info.protected Configuration
Loads the configuration for LibBase.protected void
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
-
Method Details
-
getInstance
Returns the singleton instance of LibBaseBoot.- Returns:
- the boot class for Libbase.
-
loadConfiguration
Loads the configuration for LibBase. This will be called exactly once. The configuration is loaded from a file called "libbase.properties" located next to this class. A user overridable properties file is searched on the classpath within all libraries using the name "/libbase.properties".- Specified by:
loadConfiguration
in classAbstractBoot
- Returns:
- The configuration.
-
performBoot
protected void performBoot()Performs the boot. This method does nothing.- Specified by:
performBoot
in classAbstractBoot
-
getProjectInfo
Returns the project info.- Specified by:
getProjectInfo
in classAbstractBoot
- Returns:
- The project info.
-