public abstract class AbstractBoot extends Object implements SubSystem
Modifier and Type | Method and Description |
---|---|
Exception |
getBootFailureReason()
Returns the failure reason for the boot process.
|
String |
getConfigurationDomain() |
ExtendedConfiguration |
getExtendedConfig()
Returns the global configuration as extended configuration.
|
Configuration |
getGlobalConfig()
Returns the global configuration.
|
ObjectFactory |
getObjectFactory() |
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(String classname,
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 boolean isBootDone()
public String getConfigurationDomain()
public final void start()
bootFailed
property to true. If booting is finished, the
bootDone
property is set to true.public boolean isBootFailed()
bootFailureReason
.public Exception getBootFailureReason()
public static AbstractBoot loadBooter(String classname, 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
public ObjectFactory getObjectFactory()