Class LocalBooter

java.lang.Object
com.xebialabs.deployit.booter.local.LocalBooter

public class LocalBooter extends Object
Class responsible for booting all the plugins. Responsible for: - Registering all the Descriptors - Setting up the Global Context.
  • Constructor Details

    • LocalBooter

      public LocalBooter()
  • Method Details

    • boot

      public static void boot()
      Boot the XL Deploy Plugin System. Setting everything up.
    • boot

      public static void boot(File propertiesFile)
      Boot the XL Deploy Plugin System. Setting everything up.
    • boot

      public static void boot(File propertiesFile, GlobalContextManager globalContextManager)
    • boot

      public static void boot(List<String> packagesToScan)
      Boot the XL Deploy Plugin System. Setting everything up. You can also specify extra packages to scan for classes with XL Deploy annotations.

      Note: The LocalBooter is a singleton, changing the packages to scan after it has been instantiated has no effect.

    • bootWithoutGlobalContext

      public static void bootWithoutGlobalContext()
      Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values. Useful for tests where you want to have control which default values a CI has.

      Note: The LocalBooter is a singleton, changing the packages to scan after it has been instantiated has no effect.

    • bootWithoutGlobalContext

      public static void bootWithoutGlobalContext(List<String> packagesToScan)
      Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values. You can also specify extra packages to scan for classes with XL Deploy annotations. Useful for tests where you want to have control which default values a CI has.

      Note: The LocalBooter is a singleton, changing the packages to scan after it has been instantiated has no effect.

    • rebootWithoutGlobalContext

      public static void rebootWithoutGlobalContext(List<String> packagesToScan)
    • reboot

      public static void reboot()
    • reboot

      public static void reboot(File propertiesFile, GlobalContextManager globalContextManager)
    • isInitialized

      public static boolean isInitialized()