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 BootableProjectInfo
bootableProjectInfo
The project info.private static BaseBoot
singleton
Singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
BaseBoot()
Default constructor (private).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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, 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
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
.
- Specified by:
loadConfiguration
in 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:
performBoot
in classAbstractBoot
-
getProjectInfo
protected BootableProjectInfo getProjectInfo()
Returns the project info.- Specified by:
getProjectInfo
in classAbstractBoot
- Returns:
- The project info.
-
-