Class LibBaseBoot

  • All Implemented Interfaces:
    SubSystem

    public class LibBaseBoot
    extends AbstractBoot
    An utility class to safely boot and initialize the LibBase library.
    Author:
    : Thomas Morgner
    • Method Detail

      • getInstance

        public static LibBaseBoot getInstance()
        Returns the singleton instance of LibBaseBoot.
        Returns:
        the boot class for Libbase.
      • loadConfiguration

        protected Configuration loadConfiguration()
        Loads the configuration for LibBase. This will be called exactly once. The configuration is loaded from a file called "libbase.properties" located next to this class. A user overridable properties file is searched on the classpath within all libraries using the name "/libbase.properties".
        Specified by:
        loadConfiguration in class AbstractBoot
        Returns:
        The configuration.
      • performBoot

        protected void performBoot()
        Performs the boot. This method does nothing.
        Specified by:
        performBoot in class AbstractBoot