public abstract class AbstractBoot extends java.lang.Object implements SubSystem
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
boolean |
isBootDone()
Checks, whether the booting is complete.
|
boolean |
isBootFailed()
Checks whether the booting failed.
|
boolean |
isBootInProgress()
Checks, whether the booting is in progress.
|
static AbstractBoot |
loadBooter(java.lang.String classname,
java.lang.Class source)
Loads the specified booter-class.
|
void |
start()
Starts the boot process.
|
public PackageManager getPackageManager()
getPackageManager
in interface SubSystem
public Configuration getGlobalConfig()
getGlobalConfig
in interface SubSystem
public final boolean isBootInProgress()
public final boolean isBootDone()
public final void start()
bootFailed
property to true. If booting is finished, the
bootDone
property is set to true.public boolean isBootFailed()
bootFailureReason
.public java.lang.Exception getBootFailureReason()
public static AbstractBoot loadBooter(java.lang.String classname, java.lang.Class source)
classname
- the classname of the booter class.source
- the source-class from where to get the classloader.public ExtendedConfiguration getExtendedConfig()
getExtendedConfig
in interface SubSystem