|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.boot.AbstractBoot
public abstract class AbstractBoot
The common base for all Boot classes.
This initializes the subsystem and all dependent subsystems. Implementors of this class have to provide a public static getInstance() method which returns a singleton instance of the booter implementation. Further creation of Boot object should be prevented using protected or private constructors in that class, or proper singleton behaviour cannot be guaranteed.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |