Save This Page
Home » jcommon-1.0.13 » org.jfree.base » [javadoc | source]
org.jfree.base
abstract public class: AbstractBoot [javadoc | source]
java.lang.Object
   org.jfree.base.AbstractBoot

All Implemented Interfaces:
    SubSystem

Direct Known Subclasses:
    BaseBoot

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 initialzation cannot be guaranteed.

Constructor:
 protected AbstractBoot() 
Method from org.jfree.base.AbstractBoot Summary:
createDefaultHierarchicalConfiguration,   createDefaultHierarchicalConfiguration,   getExtendedConfig,   getGlobalConfig,   getPackageManager,   getProjectInfo,   isBootDone,   isBootInProgress,   loadBooter,   loadConfiguration,   performBoot,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.base.AbstractBoot Detail:
 protected Configuration createDefaultHierarchicalConfiguration(String staticConfig,
    String userConfig,
    boolean addSysProps) 
    Creates a default configuration setup, which loads its settings from the static configuration (defaults provided by the developers of the library) and the user configuration (settings provided by the deployer). The deployer's settings override the developer's settings. If the parameter addSysProps is set to true, the system properties will be added as third configuration layer. The system properties configuration allows to override all other settings.
 protected Configuration createDefaultHierarchicalConfiguration(String staticConfig,
    String userConfig,
    boolean addSysProps,
    Class source) 
 public synchronized ExtendedConfiguration getExtendedConfig() 
    Returns the global configuration as extended configuration.
 public synchronized Configuration getGlobalConfig() 
    Returns the global configuration.
 public synchronized PackageManager getPackageManager() 
    Returns the packageManager instance of the package manager.
 abstract protected BootableProjectInfo getProjectInfo()
    Returns the project info.
 public final synchronized boolean isBootDone() 
    Checks, whether the booting is complete.
 public final synchronized boolean isBootInProgress() 
    Checks, whether the booting is in progress.
 protected AbstractBoot loadBooter(String classname) 
    Loads the specified booter implementation.
 abstract protected Configuration loadConfiguration()
    Loads the configuration. This will be called exactly once.
 abstract protected  void performBoot()
    Performs the boot.
 public final  void start() 
    Starts the boot process.