org.jfree.base

Class BaseBoot

Implemented Interfaces:
org.jfree.base.modules.SubSystem

public class BaseBoot
extends AbstractBoot

The base boot class. This initializes the services provided by JCommon.
Author:
Thomas Morgner

Method Summary

static org.jfree.base.config.ModifiableConfiguration
getConfiguration()
Returns the global configuration as modifiable configuration reference.
static AbstractBoot
getInstance()
Returns the boot instance.
protected BootableProjectInfo
getProjectInfo()
Returns the project info.
protected Configuration
loadConfiguration()
Returns the global configuration for JFreeReport.
protected void
performBoot()
Performs the boot process.

Methods inherited from class org.jfree.base.AbstractBoot

createDefaultHierarchicalConfiguration, getExtendedConfig, getGlobalConfig, getPackageManager, getProjectInfo, isBootDone, isBootInProgress, loadBooter, loadConfiguration, performBoot, start

Method Details

getConfiguration

public static org.jfree.base.config.ModifiableConfiguration getConfiguration()
Returns the global configuration as modifiable configuration reference.
Returns:
the global configuration

getInstance

public static AbstractBoot getInstance()
Returns the boot instance.
Returns:
The boot instance.

getProjectInfo

protected BootableProjectInfo getProjectInfo()
Returns the project info.
Overrides:
getProjectInfo in interface AbstractBoot
Returns:
The project info.

loadConfiguration

protected Configuration loadConfiguration()
Returns the global configuration for JFreeReport.

In the current implementation, the configuration has no properties defined, but references a parent configuration that:

  • copies across all the System properties to use as report configuration properties (obviously the majority of them will not apply to reports);
  • itself references a parent configuration that reads its properties from a file jfreereport.properties.
Overrides:
loadConfiguration in interface AbstractBoot
Returns:
the global configuration.

performBoot

protected void performBoot()
Performs the boot process.
Overrides:
performBoot in interface AbstractBoot