Package org.jfree.base
Class BaseBoot
- java.lang.Object
-
- org.jfree.base.AbstractBoot
-
- org.jfree.base.BaseBoot
-
- All Implemented Interfaces:
SubSystem
public class BaseBoot extends AbstractBoot
The base boot class. This initializes the services provided by JCommon.
-
-
Field Summary
Fields Modifier and Type Field Description private BootableProjectInfobootableProjectInfoThe project info.private static BaseBootsingletonSingleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateBaseBoot()Default constructor (private).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifiableConfigurationgetConfiguration()Returns the global configuration as modifiable configuration reference.static AbstractBootgetInstance()Returns the boot instance.protected BootableProjectInfogetProjectInfo()Returns the project info.protected ConfigurationloadConfiguration()Returns the global configuration for JFreeReport.protected voidperformBoot()Performs the boot process.-
Methods inherited from class org.jfree.base.AbstractBoot
createDefaultHierarchicalConfiguration, createDefaultHierarchicalConfiguration, getExtendedConfig, getGlobalConfig, getPackageManager, isBootDone, isBootInProgress, loadBooter, start
-
-
-
-
Field Detail
-
singleton
private static BaseBoot singleton
Singleton instance.
-
bootableProjectInfo
private BootableProjectInfo bootableProjectInfo
The project info.
-
-
Method Detail
-
getConfiguration
public static ModifiableConfiguration getConfiguration()
Returns the global configuration as modifiable configuration reference.- Returns:
- the global configuration
-
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
Systemproperties 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.
- Specified by:
loadConfigurationin classAbstractBoot- Returns:
- the global configuration.
- copies across all the
-
getInstance
public static AbstractBoot getInstance()
Returns the boot instance.- Returns:
- The boot instance.
-
performBoot
protected void performBoot()
Performs the boot process.- Specified by:
performBootin classAbstractBoot
-
getProjectInfo
protected BootableProjectInfo getProjectInfo()
Returns the project info.- Specified by:
getProjectInfoin classAbstractBoot- Returns:
- The project info.
-
-