org.jfree.base
Class AbstractBoot

java.lang.Object
  extended byorg.jfree.base.AbstractBoot
All Implemented Interfaces:
org.jfree.base.modules.SubSystem
Direct Known Subclasses:
BaseBoot

public abstract class AbstractBoot
extends java.lang.Object
implements org.jfree.base.modules.SubSystem

Boot class.


Constructor Summary
AbstractBoot()
           
 
Method Summary
 org.jfree.base.config.ModifiableConfiguration getGlobalConfig()
          Returns the global configuration.
 org.jfree.base.modules.PackageManager getPackageManager()
          Returns the singleton 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 booter.
protected abstract  org.jfree.base.config.HierarchicalConfiguration loadConfiguration()
          Loads the configuration.
protected abstract  void performBoot()
          Performs the boot.
 void start()
          Starts the boot process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBoot

public AbstractBoot()
Method Detail

getPackageManager

public org.jfree.base.modules.PackageManager getPackageManager()
Returns the singleton instance of the package manager.

Specified by:
getPackageManager in interface org.jfree.base.modules.SubSystem
Returns:
The package manager.

getGlobalConfig

public org.jfree.base.config.ModifiableConfiguration getGlobalConfig()
Returns the global configuration.

Specified by:
getGlobalConfig in interface org.jfree.base.modules.SubSystem
Returns:
The global configuration.

isBootInProgress

public boolean isBootInProgress()
Checks, whether the booting is in progress.

Returns:
true, if the booting is in progress, false otherwise.

isBootDone

public boolean isBootDone()
Checks, whether the booting is complete.

Returns:
true, if the booting is complete, false otherwise.

loadConfiguration

protected abstract org.jfree.base.config.HierarchicalConfiguration loadConfiguration()
Loads the configuration.

Returns:
The configuration.

start

public final void start()
Starts the boot process.


performBoot

protected abstract void performBoot()
Performs the boot.


getProjectInfo

protected abstract BootableProjectInfo getProjectInfo()
Returns the project info.

Returns:
The project info.

loadBooter

protected AbstractBoot loadBooter(java.lang.String classname)
Loads the booter.

Parameters:
classname - the class name.
Returns:
The boot class.