Interface LaunchHook

All Known Implementing Classes:
ClientLaunchHook, DesignerStartupHook

public interface LaunchHook
The interface that any class that want sto be launched by the bootstrap launcher must implement
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setup(LaunchStep startupStep, LaunchContext context)
    Called during the last phase (startup step) of the bootstrap launcher.
    void
    Called after setup() to start the application.
    void
    This setup will be called first, before setup(), but only the first time in a given JVM.
  • Method Details

    • staticSetup

      void staticSetup() throws Exception
      This setup will be called first, before setup(), but only the first time in a given JVM.
      Throws:
      Exception
    • setup

      void setup(LaunchStep startupStep, LaunchContext context) throws Exception
      Called during the last phase (startup step) of the bootstrap launcher. Gives the launching app a chance to do long-running and/or fragile things while the loading splash screen is still up.
      Parameters:
      startupStep - The step being displayed. Use this step to affect the message, progress, indeterminate indication, etc of the loading splash screen.
      context - The launch context contains information gathered during the loading phase that should be relevant to the starting application.
      Throws:
      Exception
    • startup

      void startup() throws Exception
      Called after setup() to start the application.
      Throws:
      Exception