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 LibBaseBootReturns the singleton instance of LibBaseBoot.protected ProjectInformationReturns the project info.protected ConfigurationLoads the configuration for LibBase.protected voidPerforms 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:
loadConfigurationin classAbstractBoot- Returns:
- The configuration.
-
performBoot
protected void performBoot()Performs the boot. This method does nothing.- Specified by:
performBootin classAbstractBoot
-
getProjectInfo
Returns the project info.- Specified by:
getProjectInfoin classAbstractBoot- Returns:
- The project info.
-