org.pentaho.reporting.libraries.base.boot
public abstract class AbstractBoot extends Object implements SubSystem
Constructor Summary | |
---|---|
protected | AbstractBoot()
Default constructor. |
Method Summary | |
---|---|
protected Configuration | createDefaultHierarchicalConfiguration(String staticConfig, String userConfig, boolean addSysProps, Class source)
Creates a default configuration setup, which loads its settings from the static configuration (defaults provided by
the developers of the library) and the user configuration (settings provided by the deployer). |
Exception | getBootFailureReason()
Returns the failure reason for the boot process. |
ExtendedConfiguration | getExtendedConfig()
Returns the global configuration as extended configuration.
|
Configuration | getGlobalConfig()
Returns the global configuration.
|
PackageManager | getPackageManager()
Returns the packageManager instance of the package manager.
|
protected abstract ProjectInformation | getProjectInfo()
Returns the project info.
|
boolean | isBootDone()
Checks, whether the booting is complete.
|
boolean | isBootFailed()
Checks whether the booting failed. |
boolean | isBootInProgress()
Checks, whether the booting is in progress.
|
protected AbstractBoot | loadBooter(String classname)
Loads the specified booter implementation.
|
static AbstractBoot | loadBooter(String classname, Class source) |
protected abstract Configuration | loadConfiguration()
Loads the configuration. |
protected abstract void | performBoot()
Performs the boot. |
void | start()
Starts the boot process. |
addSysProps
is set to true, the system properties will be added as third
configuration layer. The system properties configuration allows to override all other settings.
Parameters: staticConfig the resource name of the developers configuration userConfig the resource name of the deployers configuration addSysProps a flag defining whether to include the system properties into the configuration. source the classloader source to load resources from.
Returns: the configured Configuration instance.
Returns: the failure reason.
Returns: the extended configuration.
Returns: The global configuration.
Returns: The package manager.
Returns: The project info.
Returns: true, if the booting is complete, false otherwise.
bootFailureReason
.
Returns: true, if booting failed, false otherwise.
Returns: true, if the booting is in progress, false otherwise.
Parameters: classname the class name.
Returns: The boot class.
Returns: The configuration.
bootFailed
property to true. If booting is finished, the
bootDone
property is set to true.