org.pentaho.reporting.libraries.base
Class LibBaseBoot

java.lang.Object
  extended by org.pentaho.reporting.libraries.base.boot.AbstractBoot
      extended by 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
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, getExtendedConfig, getGlobalConfig, getPackageManager, isBootDone, isBootFailed, isBootInProgress, loadBooter, loadBooter, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class AbstractBoot
Returns:
The configuration.

performBoot

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

Specified by:
performBoot in class AbstractBoot

getProjectInfo

protected ProjectInformation getProjectInfo()
Returns the project info.

Specified by:
getProjectInfo in class AbstractBoot
Returns:
The project info.