Class LocalBooter


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

      Constructors 
      Constructor Description
      LocalBooter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void boot()
      Boot the XL Deploy Plugin System.
      static void boot​(java.io.File propertiesFile)
      Boot the XL Deploy Plugin System.
      static void boot​(java.io.File propertiesFile, GlobalContextManager globalContextManager)  
      static void boot​(java.util.List<java.lang.String> packagesToScan)
      Boot the XL Deploy Plugin System.
      static void bootWithoutGlobalContext()
      Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values.
      static void bootWithoutGlobalContext​(java.util.List<java.lang.String> packagesToScan)
      Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values.
      static boolean isInitialized()  
      static void reboot​(java.io.File propertiesFile, GlobalContextManager globalContextManager)  
      static void rebootWithoutGlobalContext​(java.util.List<java.lang.String> packagesToScan)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalBooter

        public LocalBooter()
    • Method Detail

      • boot

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

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

        public static void boot​(java.io.File propertiesFile,
                                GlobalContextManager globalContextManager)
      • boot

        public static void boot​(java.util.List<java.lang.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​(java.util.List<java.lang.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​(java.util.List<java.lang.String> packagesToScan)
      • reboot

        public static void reboot​(java.io.File propertiesFile,
                                  GlobalContextManager globalContextManager)
      • isInitialized

        public static boolean isInitialized()