public abstract class AbstractBoot
extends java.lang.Object
implements org.jfree.base.modules.SubSystem
This initializes the subsystem and all dependent subsystems. Implementors of this class have to provide a public static getInstance() method which returns a packageManager instance of the booter implementation.
Further creation of Boot object should be prevented using protected or private constructors in that class.
Constructor and Description |
---|
AbstractBoot() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getGlobalConfig()
Returns the global configuration.
|
org.jfree.base.modules.PackageManager |
getPackageManager()
Returns the packageManager instance of the package manager.
|
protected abstract BootableProjectInfo |
getProjectInfo()
Returns the project info.
|
boolean |
isBootDone()
Checks, whether the booting is complete.
|
boolean |
isBootInProgress()
Checks, whether the booting is in progress.
|
protected AbstractBoot |
loadBooter(java.lang.String classname)
Loads the specified booter implementation.
|
protected abstract Configuration |
loadConfiguration()
Loads the configuration.
|
protected abstract void |
performBoot()
Performs the boot.
|
void |
start()
Starts the boot process.
|
public org.jfree.base.modules.PackageManager getPackageManager()
getPackageManager
in interface org.jfree.base.modules.SubSystem
public Configuration getGlobalConfig()
getGlobalConfig
in interface org.jfree.base.modules.SubSystem
public boolean isBootInProgress()
public boolean isBootDone()
protected abstract Configuration loadConfiguration()
public final void start()
protected abstract void performBoot()
protected abstract BootableProjectInfo getProjectInfo()
protected AbstractBoot loadBooter(java.lang.String classname)
classname
- the class name.