Class LibBaseBoot
- java.lang.Object
-
- org.pentaho.reporting.libraries.base.boot.AbstractBoot
-
- org.pentaho.reporting.libraries.base.LibBaseBoot
-
- All Implemented Interfaces:
SubSystem
public class LibBaseBoot extends AbstractBoot
An utility class to safely boot and initialize the LibBase library.- Author:
- : Thomas Morgner
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LibBaseBoot
getInstance()
Returns the singleton instance of LibBaseBoot.protected ProjectInformation
getProjectInfo()
Returns the project info.protected Configuration
loadConfiguration()
Loads the configuration for LibBase.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
-
-
-
-
Method Detail
-
getInstance
public static LibBaseBoot getInstance()
Returns the singleton instance of LibBaseBoot.- Returns:
- the boot class for Libbase.
-
loadConfiguration
protected Configuration 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
protected ProjectInformation getProjectInfo()
Returns the project info.- Specified by:
getProjectInfo
in classAbstractBoot
- Returns:
- The project info.
-
-