org.pentaho.reporting.libraries.base

Class LibBaseBoot

public class LibBaseBoot extends AbstractBoot

An utility class to safely boot and initialize the LibBase library.

Author: : Thomas Morgner

Method Summary
static LibBaseBootgetInstance()
Returns the singleton instance of LibBaseBoot.
protected ProjectInformationgetProjectInfo()
Returns the project info.
protected ConfigurationloadConfiguration()
Loads the configuration for LibBase.
protected voidperformBoot()
Performs the boot.

Method Detail

getInstance

public static LibBaseBoot getInstance()
Returns the singleton instance of LibBaseBoot.

Returns: the boot class for Libbase.

getProjectInfo

protected ProjectInformation getProjectInfo()
Returns the project info.

Returns: The project info.

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

Returns: The configuration.

performBoot

protected void performBoot()
Performs the boot. This method does nothing.